public ActivityAndChallengeController(ILogger <ProgramController> logger, IActivityAndChallengesService service)
 {
     _logger  = logger;
     _service = service;
 }
Example #2
0
        public TestActivityService()
        {
            var services = new ContainerResolver().Container;

            _activityAndChallengesService = (IActivityAndChallengesService)services.GetService(typeof(IActivityAndChallengesService));
        }