using Connected.Annotations; using Connected.Notifications; using Connected.ServiceModel; using System.Collections.Immutable; namespace Common.Types.Continent; [Service] [ServiceUrl(Routes.Continents)] public interface IContinentService : 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.Put | ServiceMethodVerbs.Post)] Task Insert(InsertContinentArgs args); [ServiceMethod(ServiceMethodVerbs.Put | ServiceMethodVerbs.Post | ServiceMethodVerbs.Patch)] Task Update(UpdateContitentArgs args); [ServiceMethod(ServiceMethodVerbs.Delete | ServiceMethodVerbs.Post)] Task Delete(PrimaryKeyArgs args); }