//#Bonsai Snippets - Declarations public override void SetRepositories() { _Service = new CourseDetailsService <CourseDetailsViewModel>((U, C, A) => ExecuteQueryWithReturnTypeAndNetworkAccessAsync <CourseDetailsViewModel>(U, C, A)); _Repository = new CourseDetailsRepository <CourseDetailsViewModel>(_MasterRepo, _Service); //#Bonsai Snippets - ServicedRepos }
public StudentsController(ILearnRepository learn, ICourseDetailsRepository CourseDetails, IAccountRepository account) { _learn = learn; _CourseDetails = CourseDetails; _account = account; }