Esempio n. 1
0
        public ActionResult ViewLeaveRequestEmployee(int leaveRequestId)
        {
            if (leaveRequestId < 1)
            {
                throw new ArgumentOutOfRangeException(nameof(leaveRequestId));
            }

            var viewModel = leaveRequestService.GetSelectedLeaveRequestView(leaveRequestId, "");

            return(PartialView("ViewLeaveRequestEmployee", viewModel));
        }