Exemplo n.º 1
0
 public List <Section> GetAllSections()
 {
     return(_sectionRepository.GetAllSections());
 }
Exemplo n.º 2
0
        public IEnumerable <SectionViewModel> GetAllSections()
        {
            SectionRepository sectionRepo = new SectionRepository(_context);

            return(sectionRepo.GetAllSections());
        }