Exemplo n.º 1
0
 public async Task <IActionResult> UpdateGender([FromBody] GenderViewModel model)
 {
     if (await _service.UpdateAsync(model))
     {
         return(NoContent());
     }
     else
     {
         return(NotFound());
     }
 }