// GET: Footer public ActionResult LoadFooter() { var footer = footerRepository.GetAll().FirstOrDefault(); ViewBag.Footer = footer.Contents; var lstinfo = infoUsefulRepository.GetAll().ToList(); return(PartialView(lstinfo)); }
public IActionResult Index() { var model = repository.GetAll().ToList(); return(View(model)); }
// GET: Footer public ActionResult LoadFooter() { var footer = footerRepository.GetAll().FirstOrDefault(); return(PartialView(footer)); }
public IEnumerable <Footer> GetAll() { return(_footerRepository.GetAll()); }
public ActionResult Add() { var model = footerRepository.GetAll().FirstOrDefault(); return(View(model)); }
public IViewComponentResult Invoke() { var footers = footer.GetAll().ToList(); return(View(footers)); }
public async Task <IEnumerable <Footer> > GetAll() { return(await _footerRepository.GetAll()); }
public IEnumerable <Footer> GetAll() { return(sizeRepository.GetAll(new string[] { })); }
public Footer GetAll() { return(_footerRepository.GetAll().SingleOrDefault()); }