да я не знаю уже блин
This commit is contained in:
parent
21b9bed09b
commit
13ecdcaecc
@ -80,7 +80,7 @@ namespace PolyclinicWebAppSuretor.Controllers
|
|||||||
}
|
}
|
||||||
[HttpGet]
|
[HttpGet]
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
public IActionResult Edit(int id, string name, string comment, DateTime dateStart, DateTime? dateStop)
|
public IActionResult Edit(int id,string name, string comment, DateTime dateStart, DateTime? dateStop)
|
||||||
{
|
{
|
||||||
if (HttpContext.Request.Method == "GET")
|
if (HttpContext.Request.Method == "GET")
|
||||||
{
|
{
|
||||||
@ -94,7 +94,7 @@ namespace PolyclinicWebAppSuretor.Controllers
|
|||||||
{
|
{
|
||||||
Id = id,
|
Id = id,
|
||||||
Name = name,
|
Name = name,
|
||||||
Comment = comment ?? string.Empty,
|
Comment = comment,
|
||||||
DateStartProcedure = dateStart,
|
DateStartProcedure = dateStart,
|
||||||
DateStopProcedure = dateStop
|
DateStopProcedure = dateStop
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user