Пример #1
0
        public HttpResponseMessage ScenesUpdate(SequenceScenesUpdateRequest model)
        {
            if (!ModelState.IsValid)
            {
                return(Request.CreateResponse(HttpStatusCode.BadRequest, ModelState));
            }
            ItemResponse <int> response = new ItemResponse <int>();

            response.Item = SequenceService.ScenesUpdate(model);
            return(Request.CreateResponse(HttpStatusCode.OK, response));
        }