public async Task <ActionResult> Post([FromBody] UsersDTO entity) { try { return(Ok(await _usersAuthService.CreateFull(entity))); } catch (Exception ex) { return(BadRequest(new { message = ex.Message })); } }
public async Task <ActionResult> Post([FromBody] UsersDTO entity) { try { return(Ok(await _usersAuthService.CreateFull(entity))); } catch (Exception ex) { return(BadRequest(new { message = ex.Message })); } }