public void InsertFormation(CV cv) { using (var db = new Database()) { db.cvTable.Add(cv); db.SaveChanges(); } logger.Info("inserting CV :" + cv.ToString()); }
public void InsertFormation(CV cv) { Database.cvTable[cv.IntId] = cv; logger.Info("inserting CV :" + cv.ToString()); }