//APPROVE
        public ActionResult Approve(int id)
        {
            ViewBag.Employee = new SelectList(EmployeeRepo.Get(), "Id", "First_Name");
            SouvenirRequestViewModel model = SouvenirRequestRepo.GetById(id);

            return(PartialView("_Approve", model));
        }
        public ActionResult Edit(int id)
        {
            UserViewModel            result = SouvenirRequestRepo.GetIdByName(User.Identity.Name);
            SouvenirRequestViewModel model  = SouvenirRequestRepo.GetById(id);

            if (result.Role == "Staff" || result.Role == "Admin")
            {
                return(PartialView("_Edit", model));
            }
            else
            {
                return(new RedirectToRouteResult(new RouteValueDictionary(new { controller = "AccessDenied", action = "Index" })));
            }
        }
        public ActionResult Received(int id)
        {
            UserViewModel            currentUser = SouvenirRequestRepo.GetIdByName(User.Identity.Name);
            SouvenirRequestViewModel model       = SouvenirRequestRepo.GetById(id);

            if (currentUser.Role == "Requester" || currentUser.Role == "Admin")
            {
                return(PartialView("_Received", model));
            }
            else
            {
                return(new RedirectToRouteResult(new RouteValueDictionary(new { controller = "AccessDenied", action = "Index" })));
            }
        }
 public ActionResult SouSettApproved(int id)
 {
     return(PartialView("_SouSettApproved", SouvenirRequestRepo.GetById(id)));
 }
        //GET: Settlement Request
        public ActionResult SouSettRequest(int id)
        {
            SouvenirRequestViewModel model = SouvenirRequestRepo.GetById(id);

            return(PartialView("_SouSettRequest", model));
        }