Пример #1
0
 public IActionResult SetCounterValues(CounterVM[] model)
 {
     if (service.Counter_SetCurrentValues(model))
     {
         this.SaveLogOperation(IO.LogOperation.Models.OperationTypes.Patch, userContext.CourtId);
         SetSuccessMessage(MessageConstant.Values.SaveOK);
     }
     else
     {
         SetSuccessMessage(MessageConstant.Values.SaveFailed);
     }
     return(RedirectToAction(nameof(SetCounterValues)));
 }