// GET: Home public ActionResult Index() { PetDao _petDao = new PetDao(); List <PetJsonModel> pets = _petDao.GetAll().Take(10).ToList(); return(View(pets)); }
public PetService() { this.petDao = new PetDao(); }