예제 #1
0
 async Task LoadRentalsAsync()
 {
     LoadStatus = LoadStatus.Loading;
     Rentals.Clear();
     Rentals.AddRange(await _rentalService.GetRentalsAsync(Owner));
     LoadStatus = LoadStatus.Loaded;
 }
예제 #2
0
 public void AddVideo(IEnumerable <IRentable> videos)
 {
     Rentals.AddRange(videos);
 }