public ActionResult signUp(user us) { db.users.Add(us); db.SaveChanges(); return(RedirectToAction("login")); }
public ActionResult addcategory(category ca) { db.categories.Add(ca); db.SaveChanges(); return(RedirectToAction("addproduct")); }