да я не знаю уже блин
This commit is contained in:
parent
21b9bed09b
commit
13ecdcaecc
@ -80,7 +80,7 @@ namespace PolyclinicWebAppSuretor.Controllers
|
||||
}
|
||||
[HttpGet]
|
||||
[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")
|
||||
{
|
||||
@ -94,7 +94,7 @@ namespace PolyclinicWebAppSuretor.Controllers
|
||||
{
|
||||
Id = id,
|
||||
Name = name,
|
||||
Comment = comment ?? string.Empty,
|
||||
Comment = comment,
|
||||
DateStartProcedure = dateStart,
|
||||
DateStopProcedure = dateStop
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user