常用方法
常用方法
常用方法
常用方法
public IActionResult Alterar([FromQuery] Guid id, [FromBody] ReceitaViewModel viewModel) { _receitaService.AlterarReceita(id, viewModel.ToEntity()); return(Ok()); }
public IActionResult Alterar([FromQuery] Guid id, [FromBody] ReceitaViewModel viewModel) { _receitaService.AlterarReceita(id, viewModel.ToEntity()); return(Ok()); }