// GET: AutoApproval public ActionResult AutoApproval() { ViewBag.ProcessNo = _FileTransMainService.All().Select(x => x.FileTransID).LastOrDefault() + 1; ViewBag.ActID = LoadDropDown.LoadAllActions(_actionListService); ViewBag.ActionBy = LoadDropDown.LoadPrepApprvBy(); ViewBag.MarkTo = LoadDropDown.LoadPrepApprvBy(); // ViewBag.ActionBy = LoadDropDown.LoadPrepApprvBy(_employeeService, "MemberLoan", "Action By"); // ViewBag.MarkTo = LoadDropDown.LoadPrepApprvBy(_employeeService, "MemberLoan", "Mark To"); return(View()); }