예제 #1
0
        public async Task <OperationStatus> UpdateUserProfile(UserProfile Profile)
        {
            UserProfileDataProvider provider = new UserProfileDataProvider();

            return(await provider.UpdateUserProfile(Profile));
        }
예제 #2
0
        //public async Task<UserProfileEditModel> GetUserById(string userID)
        //{
        //    UserProfileDataProvider provider = new UserProfileDataProvider();
        //    return await provider.GetUserById(userID);
        //}
        //public async Task<int> AddUpdateUser(UserProfileEditModel user)
        //{
        //    UserProfileDataProvider provider = new UserProfileDataProvider();
        //    return await provider.AddUpdateUser(user);
        //}

        public async Task <UserProfile> GetUserProfileByUserID(string UserID)
        {
            UserProfileDataProvider provider = new UserProfileDataProvider();

            return(await provider.GetUserProfileByUserID(UserID));
        }