Решенная проблема

This commit is contained in:
DyCTaTOR 2024-05-18 19:24:39 +04:00
parent e037e11a64
commit f897516f3e
2 changed files with 6 additions and 0 deletions

View File

@ -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

View File

@ -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