public async Task <IActionResult> GetShipping(int id) { var shipping = await shippingRepository.GetShippingAsync(id); if (shipping == null) { return(NotFound()); } return(Ok(mapper.Map <Shipping, ShippingResource>(shipping))); }
public async Task <IActionResult> GetShipping(int id) { var shipping = await shippingRepository.GetShippingAsync(id); if (shipping == null) { return(NotFound()); } return(Ok(mapper.Map <Shipping, ShippingResource>(shipping))); }