示例#1
0
        public static IList<Users> GetAll()
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            return objCaller.GetAll();
        }
示例#2
0
        public static void Delete(int ID)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            objCaller.Delete(ID);
        }
示例#3
0
        public static Users GetByEmail(string email)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            return objCaller.GetByEmail(email);
        }
示例#4
0
        public static bool ValidateUserPermssion(string pageName, int roleID)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            return objCaller.ValidateUserPermission(pageName, roleID);
        }
示例#5
0
        public static Users GetByID(int ID)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            return objCaller.GetByID(ID);
        }
示例#6
0
        public static void Update(Users obj)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            objCaller.Update(obj);
        }
示例#7
0
        public static int Add(Users obj)
        {
            UsersDataMapper objCaller = new UsersDataMapper();

            return objCaller.Add(obj);
        }