public ServiceTemplate(IExampleBusinessService businessService) { this.businessService = businessService; }
public UserController(IExampleBusinessService busLogic, IAppSettings settings) { this.Logic = busLogic ?? throw new ArgumentNullException(nameof(busLogic)); }