public ActionResult Index(IndexVM model) { PetsRepository repo = new PetsRepository(); model.Items = repo.GetAllItems(); return(View(model)); }
public ActionResult Index(IndexVM model) { PetsRepository repo = new PetsRepository(); model.Items = repo.GetAllItems(); return(View(model)); }