示例#1
0
        public ActionResult KanIhtiyaci()
        {
            var hastalar             = _hastaService.GetAll();
            HastaListViewModel model = new HastaListViewModel
            {
                Hastas = hastalar.OrderByDescending(x => x.Tarih).ToList()
            };

            return(View(model));
        }
示例#2
0
        public ActionResult Index()
        {
            var model = new HastaListViewModel
            {
                HastaKarti = _hastaService.GetAll()
            };

            return(View(model));
        }