public Player(Guid id, Guid teamId, PlayerPosistionEnum position, int attack, int defense) { Id = id; TeamId = teamId; Posistion = position; Attack = attack; Defense = defense; }
public Player CreatePlayer(Guid teamId, PlayerPosistionEnum position, int attack, int defense) { return(new Player(Guid.NewGuid(), teamId, position, attack, defense)); }