public ActionResult BranchCreate() { //if (!ViewBag.AllowCreate) //{ // ViewBag.Error = "You are not Authorize to use this Page"; // return PartialView("_partialviewNotFound"); //} ViewBag.officeList = _officeService.GetOfficeData(); ViewBag.officeTypeList = _officeTypeService.GetOfficeTypes(); OfficeDTOs officeData = new OfficeDTOs(); officeData.EmployeeList = _officeService.GetEmployeeList(); officeData.RemoteList = _officeService.GetRemoteList(); return(View(officeData)); }