public UserFacade( RepositoryBase <UserEntity, Guid> repository, QueryBase <UserEntity, Guid, UserFilter> query) : base(repository, query) { var userEntity = repository.GetById(Guid.Empty); var userFilter = new UserFilter { Name = "Fero", Age = 30 }; var userEntities = query.Execute(userFilter); }
public Task <TResult> Execute <TResult>(QueryBase <TResult> query) { return(query.Execute(this.context)); }
public Task <TResult> Execute <TResult>(QueryBase <TResult> query) => query.Execute(context);