Пример #1
0
 public List <LoginAtt> GetUser()
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.GetUser());
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
Пример #2
0
 public string DeleteUser(string useID)
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.DeleteUser(useID));
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
Пример #3
0
 public string SaveUser(List <LoginAtt> obj, string role)
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.SaveUser(obj, role));
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
Пример #4
0
        public ResultDto ValidateLogin(string loginusername, string password)
        {
            ResultDto objResultDto = new ResultDto();

            try
            {
                LoginDll objLoginDll = new LoginDll();
                objResultDto = objLoginDll.ValidateLogin(loginusername, password);
            }
            catch (Exception ex)
            {
                objResultDto.Message = "OOPS! Something wroing, Please try later.";
            }
            return(objResultDto);
        }
Пример #5
0
        public List <GroupMasterViewDto> GetSelectGroupDetails(int empId, out string clusterName)
        {
            LoginDll objLoginDll = new LoginDll();

            return(objLoginDll.GetSelectGroupDetails(empId, out clusterName));
        }