fix(esppSync, dal, api): Исправление после удаления старых ShortCodes
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using PARR.BLL.Services.Interfaces;
|
||||
using PARR.Constants.Shortcodes;
|
||||
using System.Text.RegularExpressions;
|
||||
|
||||
namespace PARR.BLL.Services.Implementations
|
||||
@@ -28,14 +27,13 @@ namespace PARR.BLL.Services.Implementations
|
||||
return true;
|
||||
}
|
||||
|
||||
private List<string> GetShortcodesNames()
|
||||
private List<string> GetShortcodesNames()//TODO Ну ты опять этот метод дублируешь?!
|
||||
{
|
||||
var result = new List<string>();
|
||||
var shortcodes = Enum.GetValues(typeof(ShortcodeEnum)).Cast<ShortcodeEnum>();
|
||||
foreach (var item in shortcodes)
|
||||
{
|
||||
result.Add(Shortcodes.GetShortcodeName(item).ToUpper());
|
||||
}
|
||||
var result = new List<string> {
|
||||
"%ЭК%",
|
||||
"%ЗО%",
|
||||
"%РАБОТА%"
|
||||
};
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user