コード例 #1
0
        public void Init()
        {
            ContentleverageContext dbRepository = new ContentleverageContext();

            _blogCmds = new BlogCommands(dbRepository);
            _blogRqs  = new BlogQueries(dbRepository);
        }
コード例 #2
0
 private async Task InitServices()
 {
     _blogService = new BlogService(new HttpClient());
     _blogQueries = new BlogQueries(await _blogService.GetComplexlyFilledUsers());
 }