public ActionResult Chalan(long dispatchId) { try { ViewDispatchChalan chalan = _iFactoryDeliveryManager.GetDispatchChalanByDispatchId(dispatchId); return(View(chalan)); } catch (Exception exception) { Log.WriteErrorLog(exception); return(PartialView("_ErrorPartial", exception)); } }
public ActionResult Chalan(long dispatchId) { try { Session["DeliveryFromBranch"] = _iBranchManager.GetAllBranches().FirstOrDefault(n => n.BranchId == 13); ViewDispatchChalan chalan = _iFactoryDeliveryManager.GetDispatchChalanByDispatchId(dispatchId); return(View(chalan)); } catch (Exception exception) { Log.WriteErrorLog(exception); return(PartialView("_ErrorPartial", exception)); } }