public void Add(Platform item) { _videoGamesContext.Add(item); _videoGamesContext.SaveChanges(); }
/// <summary> /// Creates a new video game in the database. /// </summary> /// <param name="item">The item to be created.</param> public void Add(VideoGame item) { _videoGamesContext.Add(item); _videoGamesContext.SaveChanges(); }
public void Add(Developer item) { _videoGamesContext.Add(item); _videoGamesContext.SaveChanges(); }