Exemplo n.º 1
0
        public ActionResult Index(int sayfa = 1)
        {
            int sayfaBoyutu    = 5;
            var musteriListesi = _musteriRepository.GetAll().OrderByDescending(x => x.Id).ToPagedList(sayfa, sayfaBoyutu);

            return(View(musteriListesi));
        }
Exemplo n.º 2
0
 public ActionResult Ekle()
 {
     ViewBag.Musteri = _musteriRepository.GetAll().ToList();
     ViewBag.Arac    = _aracRepository.GetAll().ToList();
     return(View());
 }