public HttpResponseMessage ChangeStatus(Guid id, ItemLiquidation data) { var onwers = _process.ChangeStatus(id, data.Status, data.PriceMT, UpdatedId); foreach (var item in onwers) { Notifications.NotifyClientActivity(item, TypeNotifications.Notifications, $"Send Request for Vessel to Customer", HttpStatusCode.OK, item.Owner); } return(Request.CreateResponse(HttpStatusCode.OK, new { data = data })); }
public HttpResponseMessage UpdateVariableLiquidation(Guid id, ItemLiquidation data) { _process.UpdateVariableLiquidation(id, data.RateLoading, data.RateUnLoading, data.ValueLoadingCondition, data.ValueUnLoadingCondition, data.Quantity, data.IfoLoadPort, data.MgoLoadPort, data.LoadingRate, data.UnLoadingRate, data.VesselSpeed, data.VesselIfoConsumed, data.VesselMgoConsumed, UpdatedId); return(Request.CreateResponse(HttpStatusCode.OK)); }