// private IValidatorStrategy<President> _Validator; // private ITestDataUtility _TestDataUtility; public SponsorController(ISponsorService Service, IOrphanService OrphanService, ILogger Log //, IValidatorStrategy<President> validator // ITestDataUtility testDataUtility ) { // if (Service == null) // throw new ArgumentNullException("service", "service is null."); //if (validator == null) //{ // throw new ArgumentNullException("validator", "Argument cannot be null."); //} // _Validator = validator; _Service = Service; _OrphanService = OrphanService; _Log = Log; // _TestDataUtility = testDataUtility; }
public HomeController(ISponsorService Service, IOrphanService OrphanService) { _SponsorService = Service; _OrphanService = OrphanService; }