using Connected.ServiceModel; using Connected.Services; using Ops = Connected.Common.Numbering.NumberingOps; namespace Connected.Common.Numbering; internal sealed class NumberingService : Service, INumberingService { public NumberingService(IContext context) : base(context) { } public async Task Calculate(NumberingCalculateArgs args) { return await Invoke(GetOperation(), args); } public async Task Select(NumberingSelectArgs args) { return await Invoke(GetOperation(), args); } public async Task Select(PrimaryKeyArgs args) { return await Invoke(GetOperation(), args); } internal async Task NextValue(NumberingCalculateArgs args) { return await Invoke(GetOperation(), args); } }