Example #1
0
 public bool CheckUser(string UserName)
 {
     try
     {
         BlUsers obj = new BlUsers();
         return(obj.CheckUser(UserName));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #2
0
 public DataModel.UserRoles SaveUserRole(UserRoles objUserRole)
 {
     try
     {
         BlUsers obj = new BlUsers();
         return(obj.AddUserRole(objUserRole));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Example #3
0
        public List <UserRoles> UserRolesList()
        {
            BlUsers obj = new BlUsers();

            return(obj.UserRolesList());
        }
Example #4
0
        public List <Users> UsersList(Users User)
        {
            BlUsers obj = new BlUsers();

            return(obj.UsersList());
        }
Example #5
0
        public Users ValidateUser(Users User)
        {
            BlUsers obj = new BlUsers();

            return(obj.ValidateUser(User));
        }
Example #6
0
 public BlSales(IMasterPieceDatabaseSettings settings) : base(settings)
 {
     BlUsers        = new BlUsers(settings);
     BlProductsList = new BlProductsList(settings);
     BlSaleProducts = new BlSaleProducts(settings);
 }
 public UsersController(IMasterPieceDatabaseSettings settings)
 {
     _blUsers = new BlUsers(settings);
 }