18 lines
437 B
C#
18 lines
437 B
C#
using StandManager.Service.Interfaces;
|
|
|
|
public class MailProcessor
|
|
{
|
|
private readonly IManagerService _managerService;
|
|
|
|
public MailProcessor(IManagerService managerService)
|
|
{
|
|
_managerService = managerService;
|
|
}
|
|
|
|
public async Task Process()
|
|
{
|
|
var list = await _managerService.MailQueueService.RicercaQueryable(x =>
|
|
x.Eliminato == false && x.Sent == false);
|
|
var a = list;
|
|
}
|
|
} |