public static GameDay Create(Guid id, string name, Guid gameEventID) { var gd = new GameDay(id, name); gd.GameEvent = GameEvent.Get(gameEventID); // return(gd); }
public static Game Create(Guid id, string name, string campaignName, string notes, int?session, GameTier tier, Guid gameDayID, Guid tableID, Guid?dmID) { var game = new Game(id, name); game.CampaignName = campaignName; game.Notes = notes; game.SessionNumber = session; game.Tier = tier; game.GameDay = GameDay.Get(gameDayID); game.Table = Table.Get(tableID); game.DM = dmID.HasValue ? DNDUser.Get(dmID.Value) : null; // return(game); }