Ejemplo n.º 1
0
 public ActionResult RegisterSubscription(Subcribe sub)
 {
     if (!ModelState.IsValid) return null;
     Subscription subsc = new Subscription {SubscriberEmail = sub.SubscriptionEmailId, StateId = sub.StateId};
     return null;
 }
Ejemplo n.º 2
0
 public ActionResult Tbl(Subcribe obj)
 {
     db.Subcribes.Add(obj);
     db.SaveChanges();
     return(View("Index"));
 }
Ejemplo n.º 3
0
 public ActionResult Subcription()
 {
     Subcribe sc = new Subcribe {Category = _postRepository.GetAllPostCategories()};
     return PartialView(sc);
 }