Пример #1
0
        public HttpResponseMessage GetAllDeletionReasons()
        {
            HttpResponseMessage response;

            var list = _referenceServices.GetAllDeletionReasons().Select(x => new { Id = x.Id, Label = x.Label });

            response = Request.CreateResponse(HttpStatusCode.OK, list);

            return(response);
        }