예제 #1
0
        public async void DeleteLayout()
        {
            if (selectedLayout.Id == 0)
            {
                windowManager.ShowDialog(new ErrorViewModel(MyResources.SelectLayoutMsg));
            }
            else
            {
                await managerService.DeleteLayoutAsync(selectedLayout.Id);

                LayoutsByVenueId = managerService.GetAllLayoutsByVenueId(selectedVenue.Id);
                SeatsByAreaId    = null;
                AreasByLayoutId  = null;
            }
        }