Exemplo n.º 1
0
        public ActionResult DeleteApprover(Guid Id)
        {
            Approver entityApprover = staffService.GetApproverById(Id);
            Guid     pdId           = entityApprover.ProjectDonorId.Value;

            staffService.DeleteApprover(entityApprover);
            return(ApprovalSettings(pdId));
        }
Exemplo n.º 2
0
        public ActionResult DeleteApprover(Guid Id)
        {
            Approver entityApprover = staffService.GetApproverById(Id);

            staffService.DeleteApprover(entityApprover);
            UserSession.CurrentSession.ApproverList = staffService.GetCPGlobalApprovers(countryProg.Id);
            return(ApproverList());
        }