Exemplo n.º 1
0
 public void SetPreviousPlaytestEvent(PlaytestEvent playtestEvent)
 {
     _previousPlaytestEvent = new PreviousTest
     {
         Id    = 1,
         Title = playtestEvent.Title
     };
     DatabaseUtil.StorePreviousTest(_previousPlaytestEvent);
 }
        public GoogleCalendar(DataService dataService, LogHandler log)
        {
            _log         = log;
            _dataService = dataService;
            _calendar    = new CalendarService(new BaseClientService.Initializer
            {
                HttpClientInitializer = GetCredential(),
                ApplicationName       = "BotHATTwaffle 2"
            });

            _testEvent = new PlaytestEvent(_dataService, _log);
        }