public int AddUser(T_User user) { var userinfo = userData.GetUserByUserName(user.UserName); if (userinfo != null) { return(0); } int userId = userData.Add(user); return(userId); }
/// <summary> /// Saves modified user data into the ASP Net Identity database /// </summary> public void Add(User user) { UserDataProvider.Add(user); }