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