public ActionResult Index(User user) { context.Users.Add(user); context.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Index(Bikes obj) { context.Bikes.Add(obj); context.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Index(User user) { context.Users.Add(user); context.SaveChanges(); return(RedirectToAction("Index")); }
public ActionResult Index(Bikes obj) { context.Bikes.Add(obj); context.SaveChanges(); return(RedirectToAction("Index")); }