public Genero ObterPorId(int id) { return(_generoService.ObterPorId(id)); }
public async Task <IActionResult> Detalhes(Guid id) { return(View(await _generoService.ObterPorId(id))); }
public async Task <GeneroViewModel> ObterPorId(Guid id) { var genero = await _generoService.ObterPorId(id); return(_generoServiceMapper.MapToGeneroViewModel(genero)); }