public ActionResult Listele() { ViewModel vm = new ViewModel(); vm.Mesaj = msgRepo.GetAll().ToList(); vm.Kullanici = klnRepo.GetAll().ToList(); return(View(vm)); }
public ActionResult Listele() { return(View(_kullaniciRepository.GetAll().ToList())); }