// GET: Services/WarrantyBattery public ActionResult Receive() { try { var user = (ViewUser)Session["user"]; var actionModel = _iCommonManager.GetActionListModelByAreaControllerActionName("Services", "WarrantyBattery", "Receive"); var model = new WarrantyBatteryModel { PhysicalConditions = _iCommonManager.GetAllPhysicalConditions().ToList(), ServicingModels = _iCommonManager.GetAllServicingStatus().ToList(), ChargingStatus = _iCommonManager.GetAllCharginStatus().ToList(), ForwardToModels = _iCommonManager.GetAllForwardToModelsByUserAndActionId(user.UserId, actionModel.Id).ToList(), DistributionPoints = _iBranchManager.GetAllBranches().ToList() }; return(View(model)); } catch (Exception exception) { Log.WriteErrorLog(exception); return(PartialView("_ErrorPartial", exception)); } }