public async Task <IActionResult> Put(RationViewModel model) { var rationDto = _mapper.Map <RationDto>(model); await _rationService.UpdateRationAsync(rationDto); return(NoContent()); }
public async Task <IActionResult> Put(RationViewModel model) { var rationDto = _mapper.Map <RationDto>(model); await _rationService.UpdateRationAsync(rationDto); return(NoContent()); }