16 lines
440 B
C#
16 lines
440 B
C#
using Seyounth.Hyosung.Data.Entities;
|
|
|
|
namespace Seyounth.Hyosung.Data.Services;
|
|
|
|
public interface IDictService
|
|
{
|
|
Task<string> GetKeyAsync(string type, string value);
|
|
|
|
Task<List<DictEntity>> GetDictsByTypeAsync(string type);
|
|
|
|
Task SetValue(string type, string key,string value);
|
|
|
|
Task<string> GetValue(string type, string key);
|
|
|
|
Task<string> GetOrAddNewValue(string type, string key, string defaultValue = "");
|
|
} |