public IEnumerable <ResourceCategory> GetAll()
        {
            IEnumerable <ResourceCategory> categories = _service.GetAllCategories();

            return(categories);
        }
Example #2
0
        public async Task <IEnumerable <ResourceCategoryDto> > GetAll()
        {
            var categories = await _service.GetAllCategories();

            return(categories);
        }