public async Task <IHttpActionResult> GetProductById(int id) { var shipper = await _shipperService.GetByIdAsync(id); if (shipper != null) { return(Ok(shipper)); } return(NotFound()); }
public async Task <IHttpActionResult> GetProductById(int id) { var shipper = await _shipperService.GetByIdAsync(id); if (shipper != null) { return(Ok(shipper)); } return(NotFound()); }