public async Task <IHttpActionResult> EditCategories([FromBody] Shipper shipper) { if (ModelState.IsValid) { var result = await _shipperService.EditAsync(shipper); return(Ok(result)); } return(BadRequest()); }
public async Task <IHttpActionResult> EditCategories([FromBody] Shipper shipper) { if (ModelState.IsValid) { var result = await _shipperService.EditAsync(shipper); return(Ok(result)); } return(BadRequest()); }