Esempio n. 1
0
        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
            }));
        }