Example #1
0
 public EmissionController(EmissionService emissionService)
 {
     this.emissionService = emissionService ?? throw new ArgumentNullException(nameof(emissionService));
 }
Example #2
0
 public void Setup()
 {
     _emissionService = new EmissionService();
     _controller      = new EmissionController(_emissionService);
 }