Files
Wino-Mail/Wino.Core/Integration/Processors/GmailChangeProcessor.cs

21 lines
923 B
C#
Raw Normal View History

2024-08-29 23:58:39 +02:00
using System;
using System.Threading.Tasks;
2024-06-02 21:35:03 +02:00
using Wino.Core.Domain.Interfaces;
using Wino.Core.Services;
namespace Wino.Core.Integration.Processors
{
public class GmailChangeProcessor : DefaultChangeProcessor, IGmailChangeProcessor
{
public GmailChangeProcessor(IDatabaseService databaseService, IFolderService folderService, IMailService mailService, IAccountService accountService, IMimeFileService mimeFileService) : base(databaseService, folderService, mailService, accountService, mimeFileService)
{
}
public Task MapLocalDraftAsync(string mailCopyId, string newDraftId, string newThreadId)
=> MailService.MapLocalDraftAsync(mailCopyId, newDraftId, newThreadId);
2024-08-29 23:58:39 +02:00
public Task CreateAssignmentAsync(Guid accountId, string mailCopyId, string remoteFolderId)
=> MailService.CreateAssignmentAsync(accountId, mailCopyId, remoteFolderId);
2024-06-02 21:35:03 +02:00
}
}