示例#1
0
        public ActionResult MyLmsProfile()
        {
            EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel
            {
                RequestLevelPerson = "My"
            };

            return(View("SearchTeamLmsProfile", mdl));
        }
示例#2
0
        public ActionResult AdminLmsProfile()
        {
            EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel
            {
                RequestLevelPerson = "Admin",
                HideInactiveEmp    = true
            };

            return(View("SearchTeamLmsProfile", mdl));
        }
示例#3
0
        public ActionResult SearchLeaveBalanceProfile()
        {
            EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel();

            if (this.IsAuthorized == "NoAuth")
            {
                Response.Redirect("~/Home/Unauthorized");
                return(null);
            }
            else
            {
                return(View("SearchLeaveBalanceProfile", mdl));
            }
        }
示例#4
0
        public ActionResult TeamLmsProfile()
        {
            EmployeeProfileSearchModel mdl = new EmployeeProfileSearchModel
            {
                RequestLevelPerson = "Team",
                OnlyReportedToMe   = true
            };

            using (var client = new ShiftClient())
            {
                ViewBag.ShiftList = client.GetShiftMaster();
            }
            return(View("SearchTeamLmsProfile", mdl));
        }