public ActionResult Edit([Bind(Include = "ID,Email,Username,FirstName,LastName,BirthDate,JoinDate,Logo")] Member member)
 {
     if (ModelState.IsValid)
     {
         db.Entry(member).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     return(View(member));
 }
 public ActionResult Edit([Bind(Include = "ID,CategoryOfScienceClubID,Name,Description,CreationDate,Logo")] ScienceClub scienceClub)
 {
     if (ModelState.IsValid)
     {
         db.Entry(scienceClub).State = EntityState.Modified;
         db.SaveChanges();
         return(RedirectToAction("Index"));
     }
     ViewBag.CategoryOfScienceClubID = new SelectList(db.CategoriesOfScienceClub, "ID", "Name", scienceClub.CategoryOfScienceClubID);
     return(View(scienceClub));
 }