예제 #1
0
        private Response GetGeneralSettings()
        {
            var collection = Request.Query.Collection;

            if (collection.HasValue && Boolean.Parse(collection.Value))
            {
                return(_configService.All().AsResponse());
            }

            return(_configService.AllWithDefaults().AsResponse());
        }