public async Task <NotificationPagingResponse> GetItems(IOperation operation, NotificationPagingRequest request) { var(total, notifications) = await notificationStore.Get(operation, request); return(new NotificationPagingResponse { Total = total, Items = notifications }); }
public Task <Notification> Get(Guid identifier, CancellationToken cancellationToken = default) { return(_store.Get(identifier, cancellationToken)); }