public HttpPostAuthoriseCommand(AuthorisationWriterCommand authorisationWriter) { _AuthorisationWriter = authorisationWriter ?? throw new ArgumentNullException(nameof(authorisationWriter)); }
public HttpPostAuthoriseCommand(AuthorisationWriterCommand authorisationWriter, AuthorisationArgsValidator authorisationArgsValidator, ILogger <HttpPostAuthoriseCommand> logger) { _AuthorisationWriter = authorisationWriter ?? throw new ArgumentNullException(nameof(authorisationWriter)); _AuthorisationArgsValidator = authorisationArgsValidator ?? throw new ArgumentNullException(nameof(authorisationArgsValidator)); _Logger = logger; }