Пример #1
0
 private async Task DeleteItemsAsync(IEnumerable <HobliModel> models)
 {
     foreach (var model in models)
     {
         await HobliService.DeleteHobliAsync(model);
     }
 }
Пример #2
0
 private async Task <IList <HobliModel> > GetItemsAsync()
 {
     if (!ViewModelArgs.IsEmpty)
     {
         DataRequest <Data.Hobli> request = BuildDataRequest();
         return(await HobliService.GetHoblisAsync(request));
     }
     return(new List <HobliModel>());
 }