public async Task <SignupResult> SignupAsync(string password, string repeatedPassword) { var signupUser = new SignupUserDTO() { Username = Username, FirstName = FirstName, LastName = LastName, Email = Email, Password = password, RepeatedPassword = repeatedPassword, PhotoFileName = PhotoFileName }; await _signupService.UploadPhotoAsync(PhotoStream, PhotoFileName); return(await _signupService.SignupAsync(signupUser)); }
public async Task <ActionResult <SignupResult> > SignUp(SignupUserDTO signupUserDTO) { var signupResult = await _signupCheckService.SignupAsync(signupUserDTO); return(Ok(signupResult)); }