public JsonResult Update(ShipperDetailView vm) { GetShipperRequest request = new GetShipperRequest(); request.ShipperID = vm.ShipperID; ModifyShipperRequest updateRequest = _shipperService.GetShipper(request).Shipper.ConvertToModifyShipperRequest(); updateRequest.ShipperID = vm.ShipperID; updateRequest.CompanyName = vm.CompanyName; updateRequest.Phone = vm.Phone; ModifyShipperResponse response = _shipperService.ModifyShipper(updateRequest); return(Json(response)); }