public ActionResult Index() { try { var shippers = _service.AllShipper(); return(View(shippers)); } catch (Exception ex) { Logger.Error("Some error inIndex()[Get] ShipperController.cs" + ex.Message); return(new HttpNotFoundResult()); } }
public ActionResult Index() { try { var shippers = _service.AllShipper(); return(View(shippers)); } catch (Exception ex) { Logger.Error("Some error inIndex()[Get] ShipperController.cs" + ex.Message); return(new HttpNotFoundResult()); } }