public RegisterUseCase( IValidator <RegisterRequest> validator, IFindQuery <User> findQuery) : base(validator) { _findQuery = findQuery; }
public RefreshTokenUseCase( IValidator <RefreshTokenRequest> validator, IFindQuery <Token> finder ) : base(validator) { _finder = finder; }
public AddBookUseCase( IValidator <AddBookRequest> validator, IFindQuery <Author> authorFinder, IFindQuery <Genre> genreFinder ) : base(validator) { _authorFinder = authorFinder; _genreFinder = genreFinder; }
public UpdateBookUseCase( IValidator <UpdateBookRequest> validator, IFindQuery <Author> authorFinder, IFindQuery <Genre> genreFinder, IFindQuery <Book> bookFinder ) : base(validator) { _authorFinder = authorFinder; _genreFinder = genreFinder; _bookFinder = bookFinder; }
public LoginUseCase(IFindQuery <User> findUser, IValidator <LoginRequest> validator) : base(validator) { _findUser = findUser; }
public IEnumerable <T2> Find <T2>(IFindQuery <T2> query) { return(query.Find(LocaleDatastore)); }
public IEnumerable <string> Find(IFindQuery <string> query) { return(query.Find(LocaleDatastore)); }
public IEnumerable <T2> Find <T2>(IFindQuery <T2> dataQuery) => dataQuery.Find(Data);
public IEnumerable <T> Find(IFindQuery <T> dataQuery) => dataQuery.Find(Data);