public List <FooterViewModel> GetAll() { var footers = _footerRepository.FindAll(); var footerVms = footers.ProjectTo <FooterViewModel>().OrderBy(x => x.Order); return(footerVms.ToList()); }
public List <FooterViewModel> GetAll() { var footers = _footerRepository.FindAll(); var footerVms = footers.ProjectTo <FooterViewModel>().OrderBy(x => x.Order); return(footerVms.ToList()); }