public SaveViewsBackgroundService(IBackgroundServiceService backgroundServiceService, IPostViewRepository postViewRepository, PostViewStore viewStore) : base(backgroundServiceService) { this.postViewRepository = postViewRepository; this.viewStore = viewStore; ID = new Guid("{034DDBAA-3484-4e6d-BBA6-6E7981B28C0B}"); Name = "Oxite View Tracking"; Category = "Background Services"; }
public PostViewService(IPostViewRepository repository, PostViewStore viewStore) { this.repository = repository; this.viewStore = viewStore; }