//#Bonsai Snippets - Declarations
 public override void SetRepositories()
 {
     _Service = new CourseListService <CourseListViewModel>((U, C, A) =>
                                                            ExecuteQueryWithReturnTypeAndNetworkAccessAsync <CourseListViewModel>(U, C, A));
     _Repository = new CourseListRepository(_MasterRepo, _Service);
     //#Bonsai Snippets - ServicedRepos
 }
Exemple #2
0
 public CourseListRepository(IMasterRepository masterRepository, ICourseListService <CourseListViewModel> service)
     : base(masterRepository)
 {
     _Service = service;
 }