Exemple #1
0
        public static bool CheckUserName(string userName)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

            return(maiDAO.CheckUserName(userName));
        }
Exemple #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));
        }
Exemple #3
0
        public static List <MemberAccountInfo> GetMemberAccountLoginInfo(string userName, string password)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

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

            return(maiDAO.GetMemberById(id));
        }
Exemple #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));
        }
Exemple #6
0
        public static async Task <long> PendingAccount(string id)
        {
            MemberAccountInfoDAO maiDAO = new MemberAccountInfoDAO();

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

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

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

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

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

            return(maiDAO.CheckEmail(email));
        }