Ejemplo n.º 1
0
        public async Task <IActionResult> SignUp(SignUpModel model)
        {
            BuilderDTO builder = _mapper.Map <BuilderDTO>(model);
            await _signUpService.SingUp(builder);

            return(Ok());
        }
Ejemplo n.º 2
0
        public async Task <IActionResult> SignUp(SignUpModel model)
        {
            EmployerDTO employer = _mapper.Map <EmployerDTO>(model);
            await _signUpService.SingUp(employer);

            return(Ok());
        }