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