Exemplo n.º 1
0
        public Task <UserVerify> GetEditApproval(string UserID)
        {
            UserVerify UserExist = new UserVerify();

            try
            {
                string    conn = _appConfiguration.GetConnectionString(PlexformConsts.ESWISConnectionString);
                UsrVerify obj  = new UsrVerify(conn);
                UserExist = obj.GetApprovalEdit(UserID);
            }
            catch (Exception ex)
            {
                var temp = ex.ToString();
            }
            return(Task.FromResult(UserExist));
        }
Exemplo n.º 2
0
        public Task <UserVerify> UpdateUserApproval(string userID, string Status, string RejectRemark)
        {
            UserVerify UserExist = new eSWIS.Logic.UserSecurity.Container.UserVerify();

            try
            {
                string    conn = _appConfiguration.GetConnectionString(PlexformConsts.ESWISConnectionString);
                UsrVerify obj  = new UsrVerify(conn);
                UserExist = obj.UpdateApproval(userID, Status, RejectRemark);
            }
            catch (Exception ex)
            {
                var temp = ex.ToString();
            }
            return(Task.FromResult(UserExist));
        }
Exemplo n.º 3
0
        public Task <List <eSWIS.Logic.UserSecurity.Container.UserVerify> > GetUsrAccessList()
        {
            List <eSWIS.Logic.UserSecurity.Container.UserVerify> UserExist = new List <eSWIS.Logic.UserSecurity.Container.UserVerify>();

            try
            {
                string    conn = _appConfiguration.GetConnectionString(PlexformConsts.ESWISConnectionString);
                UsrVerify obj  = new UsrVerify(conn);
                UserExist = obj.GetUsrAccessListAll();
            }
            catch (Exception ex)
            {
                var temp = ex.ToString();
            }
            return(Task.FromResult(UserExist));
        }