public List <LoginAtt> GetUser()
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.GetUser());
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
 public string DeleteUser(string useID)
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.DeleteUser(useID));
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
 public string SaveUser(List <LoginAtt> obj, string role)
 {
     try
     {
         LoginDll dllparameter = new LoginDll();
         return(dllparameter.SaveUser(obj, role));
     }
     catch (Exception ex)
     {
         throw (ex);
     }
 }
Beispiel #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);
        }
Beispiel #5
0
        public List <GroupMasterViewDto> GetSelectGroupDetails(int empId, out string clusterName)
        {
            LoginDll objLoginDll = new LoginDll();

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