Пример #1
0
        public static bool CheckUserName(string userName)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.CheckUserName(userName));
        }
Пример #2
0
        public static List <MemberAccountInfo> GetActiveMemberAccountByLocation(int count, string neighbourhood, string cityName, string provinceCode, string countryName)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.GetActiveMemberAccountByLocation(count, neighbourhood, cityName, provinceCode, countryName));
        }
Пример #3
0
        public static List <MemberAccountInfo> GetMemberAccountLoginInfo(string userName, string password)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.GetMemberAccountLoginInfo(userName, password));
        }
Пример #4
0
        public static List <MemberAccountInfo> GetMemberById(string id)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.GetMemberById(id));
        }
Пример #5
0
        public static List <MemberAccountInfo> GetActiveMemberAccountExcludeId(string id, string offerPlace, string neighbourhood, string cityName, string provinceCode, string countryName)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.GetActiveMemberAccountExcludeId(id, offerPlace, neighbourhood, cityName, provinceCode, countryName));
        }
Пример #6
0
        public static async Task <long> PendingAccount(string id)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(await maiDAO.PendingAccount(id));
        }
Пример #7
0
        public static async Task <long> DeleteMemberAccountById(string id)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(await maiDAO.DeleteMemberAccountById(id));
        }
Пример #8
0
        public static async Task <long> DeactivateAccount(string id)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(await maiDAO.DeactivateAccount(id));
        }
Пример #9
0
        public static async Task <long> RecordLoginDay(string id, string loginDay)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(await maiDAO.RecordLoginDay(id, loginDay));
        }
Пример #10
0
        public static async Task <long> UpdateMemberAccount(MemberAccountInfo mai)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(await maiDAO.UpdateMemberAccount(mai));
        }
Пример #11
0
 public static async Task CreateMemberAccount(MemberAccountInfo mai)
 {
     MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();
     await maiDAO.CreateMemberAccount(mai);
 }
Пример #12
0
        public static bool CheckEmail(string email)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.CheckEmail(email));
        }