Esempio n. 1
0
 public Email Save(Email email)
 {
     CurrentContext.Add(email);
     CurrentContext.SaveChanges();
     return(email);
 }
Esempio n. 2
0
 public virtual T Save(T entity)
 {
     CurrentContext.Add(entity);
     CurrentContext.SaveChanges();
     return(entity);
 }
Esempio n. 3
0
 public MYUser Save(MYUser user)
 {
     CurrentContext.Add(user);
     CurrentContext.SaveChanges();
     return(user);
 }
 public override Suggest Save(Suggest suggest)
 {
     CurrentContext.Add(suggest);
     CurrentContext.SaveChanges();
     return(suggest);
 }