public virtual ActionResult ExpertSubscribe(string contact) { var subscription = new Subscription {Contact = contact, IsExpert = true}; Repository.Subscription.Add(subscription); return View(); }
public virtual ActionResult UserSubscribe(string email) { var subscription = new Subscription {Contact = email}; Repository.Subscription.Add(subscription); return View(); }