правка

This commit is contained in:
Галина Федоренко 2024-05-30 12:14:35 +04:00
parent 44552435e6
commit 14b2ee63eb

View File

@ -81,8 +81,11 @@ namespace LawFirmExecutorApp.Controllers
APIClient.PostRequest("api/case/updatecase", new
CaseBindingModel
{
Id = id
ExecutorId = APIClient.Executor.Id,
Name = name,
Status = status,
CaseType = type,
DateCreate = date
});
Response.Redirect("/Home/Cases");
}
@ -94,7 +97,12 @@ namespace LawFirmExecutorApp.Controllers
throw new Exception("Вы как суда попали? Суда вход только авторизованным");
}
APIClient.PostRequest("api/case/deletecase", );
APIClient.PostRequest("api/case/deletecase", new
CaseBindingModel
{
Id = id,
});
Response.Redirect("/Home/Cases");
}