Пример #1
0
        // GET: Footer
        public ActionResult LoadFooter()
        {
            var footer = footerRepository.GetAll().FirstOrDefault();

            ViewBag.Footer = footer.Contents;
            var lstinfo = infoUsefulRepository.GetAll().ToList();

            return(PartialView(lstinfo));
        }
Пример #2
0
        public IActionResult Index()
        {
            var model = repository.GetAll().ToList();

            return(View(model));
        }
Пример #3
0
        // GET: Footer
        public ActionResult LoadFooter()
        {
            var footer = footerRepository.GetAll().FirstOrDefault();

            return(PartialView(footer));
        }
Пример #4
0
 public IEnumerable <Footer> GetAll()
 {
     return(_footerRepository.GetAll());
 }
Пример #5
0
        public ActionResult Add()
        {
            var model = footerRepository.GetAll().FirstOrDefault();

            return(View(model));
        }
Пример #6
0
        public IViewComponentResult Invoke()
        {
            var footers = footer.GetAll().ToList();

            return(View(footers));
        }
Пример #7
0
 public async Task <IEnumerable <Footer> > GetAll()
 {
     return(await _footerRepository.GetAll());
 }
Пример #8
0
 public IEnumerable <Footer> GetAll()
 {
     return(sizeRepository.GetAll(new string[] { }));
 }
Пример #9
0
 public Footer GetAll()
 {
     return(_footerRepository.GetAll().SingleOrDefault());
 }