using Bootstrap.DataAccess; using Bootstrap.Security; using Microsoft.AspNetCore.Authorization; using Microsoft.AspNetCore.Mvc; using System.Collections.Generic; namespace Bootstrap.Admin.Controllers.Api { [Route("api/[controller]")] public class CategoryController : Controller { /// /// /// /// [HttpGet] [AllowAnonymous] public IEnumerable Get() { return DictHelper.RetrieveCategories(); } } }