Beispiel #1
0
 /// <summary>
 ///  创建用户
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public async Task <User> CreateUser(User user)
 {
     return(await userRep.CreateUser(user));
 }
 public static void CreateUser(UserDto user)
 {
     userOperations.CreateUser(user);
 }
        public string CreateUser(PostUser user)
        {
            string token = _userRepository.CreateUser(user);

            return(token);
        }