feat(api): process, sub, tnk, work в update добавлено изменение даты изменения.
This commit is contained in:
@@ -182,6 +182,7 @@ namespace PARR.API.Controllers.V1
|
||||
orig.Name = request.Name.Trim();
|
||||
orig.EsppId = request.EsppId;
|
||||
orig.SubprocessId = request.SubprocessId;
|
||||
orig.DateModified = DateTimeOffset.UtcNow;
|
||||
|
||||
if (!await tnkService.CommitAsync())
|
||||
return BadRequest(new Response(false, new List<ErrorModel> { new ErrorModel { Message = "Ошибка при изменении ТНК." } }));
|
||||
|
||||
Reference in New Issue
Block a user