public CommonWordGame(string Name, string Category) { this.Name = Name; this.Category = CategoryDAO.GetCategory(Category); Id = GameDAO.GetGame(Name, this.Category); }
public KeyWordGame(string name, string category) { Name = name; Category = CategoryDAO.GetCategory(category); Id = GameDAO.GetGame(Name, Category); }
public HangManGame(string name, string category) { Name = name; Category = CategoryDAO.GetCategory(category); Id = GameDAO.GetGame(Name, Category); }