/// <summary> /// Default constructor with logging injected /// </summary> /// <param name="viewOperations">Access view data</param> /// <param name="loggingService">Dependency injected logging for all end points</param> /// <param name="queryStringService">Injected service to read http request information</param> public ViewsController(IViewOperations viewOperations, ILoggingService loggingService, IRequestQueryStringService queryStringService) { Check.NotNull(loggingService, nameof(loggingService)); Check.NotNull(viewOperations, nameof(viewOperations)); _loggingService = loggingService; _viewOperations = viewOperations; _queryStringService = queryStringService; }
public CommandWrapper(ICommandBase command, IViewOperations viewOperations) { this._baseCommand = command; this._viewOperations = viewOperations; }