public ActionResult SubscriberDetail(int id) { AboneViewModel model = new AboneViewModel(); model = AboneModel(id); return(View(model)); }
public ActionResult SubscriberPaymentList(int id) { AboneViewModel model = new AboneViewModel(); model.Abone = _aboneService.Subscriber(id); model.AboneOdeme = _aboneService.GetAllSubscriberPayment(id); return(View(model)); }
public ActionResult SubscriberUpdate(int id) { AboneViewModel model = new AboneViewModel(); model = AboneModel(id); model.AracModel = AracModel(); return(View(model)); }
public ActionResult SubscriberPaymentInvoice(int id) { var abone = _aboneService.SubscriberPayment(id); AboneViewModel model = new AboneViewModel(); model = AboneModel(Convert.ToInt32(abone.AboneID)); model.Odeme = _aboneService.SubscriberPayment(id); return(View(model)); }
public AboneViewModel AboneModel(int id) { AboneViewModel model = new AboneViewModel(); model.Abone = _aboneService.Subscriber(id); model.Uye = _uyeService.User(Convert.ToInt32(model.Abone.UyeID)); model.Arac = _aracService.Car(Convert.ToInt32(model.Abone.AracID)); model.Marka = _aracService.Brand(Convert.ToInt32(model.Arac.MarkaID)); model.Model = _aracService.Model(Convert.ToInt32(model.Arac.ModelID)); return(model); }