Exemplo n.º 1
0
 public IActionResult UpdatescannedStatus(ReciveUpdateVm input)
 {
     try
     {
         var response = _receiveService.UpdatescannedStatus(input);
         return(Ok(response));
     }
     catch (Exception e)
     {
         Util.LogError(e);
         return(StatusCode(StatusCodes.Status500InternalServerError, new ErrorClass()
         {
             code = StatusCodes.Status500InternalServerError.ToString(), message = "Something went wrong"
         }));
     }
 }