public ActionResult UserEdit(User us)
        {
            var yy = _userRep.Find(us.Id);

            yy.UserName            = us.UserName;
            yy.Password            = us.Password;
            yy.UserType            = us.UserType;
            yy.whoDoOrganizations_ = us.whoDoOrganizations_;
            yy.Age = us.Age;
            _db.SaveChanges();

            return(RedirectToAction("UserList"));
        }
 public void Add(TEntity entity)
 {
     db.Set <TEntity>().Add(entity);
     db.SaveChanges();
 }