Exemple #1
0
 public List <Section> GetAllSections()
 {
     return(_sectionRepository.GetAllSections());
 }
        public IEnumerable <SectionViewModel> GetAllSections()
        {
            SectionRepository sectionRepo = new SectionRepository(_context);

            return(sectionRepo.GetAllSections());
        }