stage9_10 #16

Merged
ns.potapov merged 98 commits from stage9_10 into main 2024-05-30 04:28:50 +04:00
Showing only changes of commit 1e02a06b49 - Show all commits

View File

@ -55,6 +55,7 @@ namespace PolyclinicWebAppImplementer.Controllers
[HttpPost]
public IActionResult Edit(int id, DiagnoseViewModel model)
{
// TODO проверить, что пользователь зочет редактировать свой диагноз (UserId)
if (HttpContext.Request.Method == "GET")
{
var obj = _diagnoseLogic.ReadElement(new DiagnoseSearchModel { Id = id });