public ActionResult Register()
 {
     var model = new RegisterViewModel
     {
         Ulkeler = _ulkeService.GetList(),
         Turkiye = _sehirService.GetListByUlkeId(213)
     };
     return View(model);
 }
Exemplo n.º 2
0
        public PartialViewResult _MemberDetail(int id)
        {
            var uye   = _uyeService.Get_WIncById(id);
            var model = new MemberDetailViewModel
            {
                Uye      = uye,
                Ulkeler  = _ulkeService.GetList(),
                Sehirler = _sehirService.GetListByUlkeId(uye.Sehir.UlkeId)
            };

            return(PartialView(model));
        }