private void OfficeDocumentExpiryJob(EmailService emailService)
        {
            var expiryDate = DateTime.Today.AddDays(10);

            var officeDocumentDetails = from od in UnitOfWork.OfficeDocDetailsRepository.Get()
                                        join dt in UnitOfWork.DocumentTypeRepository.Get() on od.DocumentId equals dt.DocumentId
                                        where od.DocExpiryDate < expiryDate
                                        select new OfficeDocDetailsViewModel()
            {
                DocumentName  = dt.DocumentName,
                DocIssueDate  = od.DocIssueDate,
                DocExpiryDate = od.DocExpiryDate
            };

            if (officeDocumentDetails != null)
            {
                string strBody = EmailTemplateHelper.OfficeDocumentDetails(officeDocumentDetails)
                                 .Replace("[APPLICATIONLINK]", "https://aris-amt.com");

                emailService.Send(strManagerMails, "", "Office Document Expiry Reminder", strBody);
            }
            else
            {
                Console.WriteLine("No mails to send");
            }
        }