Решенная проблема
This commit is contained in:
parent
e037e11a64
commit
f897516f3e
@ -30,6 +30,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpPost]
|
||||
public void CreateStudent(StudentBindingModel model)
|
||||
{
|
||||
try
|
||||
@ -42,6 +43,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpPut]
|
||||
public void UpdateStudent(StudentBindingModel model)
|
||||
{
|
||||
try
|
||||
@ -54,6 +56,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpDelete]
|
||||
public void DeleteStudent(StudentBindingModel model)
|
||||
{
|
||||
try
|
||||
|
@ -30,6 +30,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpPost]
|
||||
public void CreateTeacher(TeacherBindingModel model)
|
||||
{
|
||||
try
|
||||
@ -42,6 +43,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpPut]
|
||||
public void UpdateTeacher(TeacherBindingModel model)
|
||||
{
|
||||
try
|
||||
@ -54,6 +56,7 @@ namespace UniversityRestApi.Controllers
|
||||
throw;
|
||||
}
|
||||
}
|
||||
[HttpDelete]
|
||||
public void DeleteTeacher(TeacherBindingModel model)
|
||||
{
|
||||
try
|
||||
|
Loading…
Reference in New Issue
Block a user