using System.Collections.Immutable; using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; namespace Connected.Common.Types.Currencies; [Service] [ServiceUrl(Routes.Currencies)] public interface ICurrencyService : IServiceNotifications { [ServiceMethod(ServiceMethodVerbs.Get)] Task> Query(); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task> Query(PrimaryKeyListArgs args); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task Select(PrimaryKeyArgs args); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task Format(CurrencyFormatArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Put)] Task Insert(CurrencyInsertArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch | ServiceMethodVerbs.Put)] Task Update(CurrencyUpdateArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Delete)] Task Delete(PrimaryKeyArgs args); }