public ActionResult MyLmsProfile() { EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel { RequestLevelPerson = "My" }; return(View("SearchTeamLmsProfile", mdl)); }
public ActionResult AdminLmsProfile() { EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel { RequestLevelPerson = "Admin", HideInactiveEmp = true }; return(View("SearchTeamLmsProfile", mdl)); }
public ActionResult SearchLeaveBalanceProfile() { EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel(); if (this.IsAuthorized == "NoAuth") { Response.Redirect("~/Home/Unauthorized"); return(null); } else { return(View("SearchLeaveBalanceProfile", mdl)); } }
public ActionResult TeamLmsProfile() { EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel { RequestLevelPerson = "Team", OnlyReportedToMe = true }; using (var client = new ShiftClient()) { ViewBag.ShiftList = client.GetShiftMaster(); } return(View("SearchTeamLmsProfile", mdl)); }