public async Task <UserDTO> CreateUserAsync(UserRegisterModel profile) { User user = userConverter.ConvertRegisterModelToUser(profile); UserRepository.Add(user); await unitOfWork.SaveChangesAsync(); return(userConverter.ConvertUserToDTO(user)); }