常用方法
常用方法
常用方法
常用方法
protected ActionResult BuscarPorId(Guid id) { var resposta = Servico.Buscar(id); if (resposta == null) { return(NotFound()); } return(Ok(MapperHelper.Map <T, TM>(resposta))); }
protected ActionResult BuscarPorId(Guid id) { var resposta = Servico.Buscar(id); if (resposta == null) { return(NotFound()); } return(Ok(MapperHelper.Map <T, TM>(resposta))); }