public void Commit() { _dbContext.SaveChanges(); }
/// <summary> /// uploads a new file and associated metadata. /// </summary> /// <param name="item"></param> /// public void Add(File item) { _context.Add(item); _context.SaveChanges(); }
public void Commit() { _dbContext.SaveChanges(); }
/// <summary> /// uploads a new file and associated metadata. /// </summary> /// <param name="item"></param> /// public void Add(File item) { _context.Add(item); _context.SaveChanges(); }