36 lines
1.4 KiB
C#
36 lines
1.4 KiB
C#
using AutoMapper;
|
|
using DigitalData.Core.DTO;
|
|
using DigitalData.EmailProfilerDispatcher.Application.DTOs.EmailOut;
|
|
using DigitalData.EmailProfilerDispatcher.Application.Services;
|
|
using DigitalData.EmailProfilerDispatcher.Infrastructure.Contracts;
|
|
using DigitalData.UserManager.Application;
|
|
using EnvelopeGenerator.Application.Contracts;
|
|
using EnvelopeGenerator.Application.DTOs;
|
|
using EnvelopeGenerator.Common;
|
|
using Microsoft.Extensions.Caching.Memory;
|
|
using Microsoft.Extensions.Localization;
|
|
|
|
namespace EnvelopeGenerator.Application.Services
|
|
{
|
|
public class EnvelopeMailService : EmailOutService<Resource>, IEnvelopeMailService
|
|
{
|
|
private readonly IEmailTemplateService _tempService;
|
|
private readonly IMemoryCache _cache;
|
|
|
|
public EnvelopeMailService(IEmailOutRepository repository, IStringLocalizer<Resource> localizer, IMapper mapper, IEmailTemplateService tempService, IMemoryCache cache) : base(repository, localizer, mapper)
|
|
{
|
|
_tempService = tempService;
|
|
_cache = cache;
|
|
}
|
|
|
|
public Task<DataResult<int>> SendAccessCodeAsync(EnvelopeReceiverDto envelopeReceiverDto)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public Task<DataResult<int>> SendAsync(EnvelopeReceiverDto envelopeReceiverDto, Constants.EmailTemplateType tempType)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
} |