using System.Collections.Immutable; using Connected.Annotations; using Connected.ServiceModel; namespace Connected.Security.Membership; [Service] [ServiceUrl(SecurityRoutes.Membership)] public interface IMembershipService { [ServiceMethod(ServiceMethodVerbs.Get)] Task?> Query(); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task?> Query(MembershipQueryArgs args); [ServiceMethod(ServiceMethodVerbs.Get | ServiceMethodVerbs.Post)] Task Select(PrimaryKeyArgs args); [ServiceMethod(ServiceMethodVerbs.Post)] Task Insert(MembershipArgs args); [ServiceMethod(ServiceMethodVerbs.Post | ServiceMethodVerbs.Delete)] Task Delete(PrimaryKeyArgs args); }