public Task <SomeAggregationResponse> GetCertainEntityAsync(string entityId) { return(SomeAggregatorClass.getCertainentity(entityId, getCollection <SomeAggregationResponse>())); }
public Task <List <SomeAggregationResponse> > PaginateRequestsForAssetsAsync(string[] assetsIds, int page = 0, int pageSize = 10) { return(SomeAggregatorClass.buildentitiesForAssets(assetsIds, this.getCollection <SomeAggregationResponse>(), page, pageSize)); }