правка
This commit is contained in:
parent
44552435e6
commit
14b2ee63eb
@ -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");
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user