Example #1
0
 public IActionResult Create(Subscriber subscriber)
 {
     _db.Subscribers.Add(subscriber);
     _db.SaveChanges();
     return(RedirectToAction("Index", "Subscriber"));
 }