Beispiel #1
0
 public IActionResult HasPendingLoadshopClaim(string id)
 {
     try
     {
         var loads = _loadService.HasPendingLoadshopClaim(id);
         return(Success(_mapper.Map <List <LoadDetailViewModel> >(loads)));
     }
     catch (ValidationException e)
     {
         return(Error <List <LoadDetailViewModel> >(e));
     }
 }