public async Task <IActionResult> SignUp(SignUpModel model) { BuilderDTO builder = _mapper.Map <BuilderDTO>(model); await _signUpService.SingUp(builder); return(Ok()); }
public async Task <IActionResult> SignUp(SignUpModel model) { EmployerDTO employer = _mapper.Map <EmployerDTO>(model); await _signUpService.SingUp(employer); return(Ok()); }