public IWooSyncLogRepository wooSyncLogRepository() { if (_WooSyncLogRepository == null) { _WooSyncLogRepository = new WooSyncLogRepository(_Context, _Logger, this); } return(_WooSyncLogRepository); }
private async Task <List <WooSyncLog> > GetSyncLogRowsByDate(DateTime selectedDateTimeInLog) { IWooSyncLogRepository _WooSyncLogRepository = _AppUnitOfWork.wooSyncLogRepository(); return((List <WooSyncLog>) await _WooSyncLogRepository.GetByAsync(wsl => wsl.WooSyncDateTime == selectedDateTimeInLog)); }
private async Task <List <DateTime> > GetAllUniqueLogDates() { IWooSyncLogRepository _WooSyncLogRepository = _AppUnitOfWork.wooSyncLogRepository(); return(await _WooSyncLogRepository.GetDistinctLogDates()); }