public void addProfile(int userId, int userRegisterId) { _userProfile.UserID = userId; _userProfile.UserRegisterID = userRegisterId; _userContext.UserProfileRepository.Create(_userProfile); _userContext.Commit(); }
public void addUser(string userName, string userPassword, int userRegisterID) { _userLogin = new UserLogin(); _userLogin.UserName = userName; _userLogin.UserPassword = userPassword; _userLogin.UserRegisterID = userRegisterID; _userContext.UserLoginRepository.Create(_userLogin); _userContext.Commit(); }
public void addUser(UserRegister userRegister) { _userContext.UserRegisterRepository.Create(userRegister); _userContext.Commit(); }