public bool SetImportEvent(string applicationReference, ImportEvent importEvent)
        {
            var application =
               _applicationsContext.Applications.Active()
                   .Include(p => p.Properties)
                   .FirstOrDefault(a => a.ApplicationReference == applicationReference);

            if (application.IsNull())
                return false;

            application.DateCreated = importEvent.DateCreated;
            application.DateUpdated = importEvent.DateUpdated;

            return _applicationsContext.SaveChanges() > 0;
        }
        public bool SetImportEvent(string applicationReference, ImportEvent importEvent)
        {
            Check.If(applicationReference).IsNotNullOrEmpty();
            Check.If(importEvent).IsNotNull();

            return _applicationRepository.SetImportEvent(applicationReference, importEvent);
        }