worker чтение ESPPTemplates переведено на очередь MQ
This commit is contained in:
@@ -1,15 +1,29 @@
|
||||
namespace PARR.EsppTemplateSync.Services
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
namespace PARR.EsppTemplateSync.Services
|
||||
{
|
||||
internal class Manager : IManager
|
||||
{
|
||||
private readonly ILogger<Manager> logger;
|
||||
private readonly IParserService parserService;
|
||||
|
||||
public Manager(ILogger<Manager> logger, IParserService parserService)
|
||||
{
|
||||
this.logger = logger;
|
||||
this.parserService = parserService;
|
||||
}
|
||||
public Task<bool> ManageFileAsync(string path)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
}
|
||||
|
||||
public Task<bool> ManageStringAsync(string str)
|
||||
public async Task<bool> ManageStringAsync(string str)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
bool isSuccess = true;
|
||||
//TOD if (str == null || str.Length <= 2)
|
||||
//var await parserService.ParseStringAsync(str);
|
||||
|
||||
return isSuccess;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user