Exemplo n.º 1
0
 public ActionResult Create()
 {
     try
     {
         return(View(new CourierViewModel {
             Active = true, Sequence = _courierService.GetAutoSequence()
         }));
     }
     catch (Exception ex)
     {
         return(JavaScript($"ShowResult('{ex.Message}','failure')"));
     }
 }