Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <ActionResult <ProductoDto> > Get(int id) { var prod = await _productosRepository.ObtenerProductoAsync(id); if (prod == null) { return(NotFound()); } return(_mapper.Map <ProductoDto>(prod)); }