Пример #1
0
        private int AddCustomFilter(CustomFilterResource resource)
        {
            var customFilter = _customFilterService.Add(resource.ToModel());

            return(customFilter.Id);
        }
Пример #2
0
        public ActionResult <CustomFilterResource> AddCustomFilter(CustomFilterResource resource)
        {
            var customFilter = _customFilterService.Add(resource.ToModel());

            return(Created(customFilter.Id));
        }