コード例 #1
0
        public HttpResponseMessage ChangeStatusRequest(Guid id, RequestView data)
        {
            var onwers = _process.ChangeStatusRequest(id, data.Status, UpdatedId);

            foreach (var item in onwers)
            {
                Notifications.NotifyClientActivity(item, TypeNotifications.Notifications, $"Update Request for Owner Vessel", HttpStatusCode.OK, item.Owner);
            }
            return(Request.CreateResponse(HttpStatusCode.OK, new
            {
                data = data
            }));
        }