public void Update(UserDocument userDocument) { db.UserDocument.Update(userDocument); db.SaveChanges(); }
public void Create(UserDocument userDocument) { db.UserDocument.Add(userDocument); db.SaveChanges(); }