public override async void Init(object initData)
        {
            base.Init(initData);

            //Init Queue.
            QueueList = new ObservableCollection <Player>();

            //todo need to filter it by PlayerState to Not equal to IsPlaying.
            var queueResult = await _queueManager.GetQueueList();

            if (queueResult != null)
            {
                foreach (var item in queueResult.OrderBy(x => x.DateTimeWhenPlayerSetInTheQueue))
                {
                    QueueList.Add(item);
                }
            }

            //Initi Courts
            CourtList = new ObservableCollection <Court>();
            var courtResult = await _courtManager.GetAllCourtDetails();

            if (courtResult != null)
            {
                foreach (var item in courtResult)
                {
                    System.Diagnostics.Debug.WriteLine("ID:" + item.ID);
                    System.Diagnostics.Debug.WriteLine("GuiD:" + item.GuId);
                    CourtList.Add(item);
                }
            }
        }
        public override async void Init(object initData)
        {
            base.Init(initData);

            if (CourtList == null)
            {
                //Step1: Initialise it. Create courts record into db.
                CourtList = await _courtManager.InitCourts(6);
            }
            else
            {
                CourtList = await _courtManager.GetAllCourtDetails();
            }
        }