private void configRemoveCommand() { RemoveCommand = new RelayCommand(async o => { if (o != null && !string.IsNullOrEmpty(((Porter.Entity.VideoDetails)o).Url)) { //int index; bool deletedDone = await Loging.Remove(VideoDetails, ((Porter.Entity.VideoDetails)o).Url);//, out index } }, o => true); }