public DraftOptions(DraftOptionsDto options) { Title = options.Title; PickTime = options.PickTime; TargetPlayers = options.TargetPlayers; }
public int Create(int ownerId, DraftOptionsDto options) { var draftId =_draftManager.Create(ownerId, new DraftOptions(options)); return draftId; }