Example #1
0
 private void OnPlanOverage(PlanOverage planOverage) {
     Clients.Group(planOverage.OrganizationId).planOverage(planOverage);
 }
        private Task OnPlanOverageAsync(PlanOverage planOverage, CancellationToken cancellationToken = default(CancellationToken)) {
            if (planOverage != null)
                return Context.Groups.TypedSend(planOverage.OrganizationId, planOverage);

            return TaskHelper.Completed();
        }
        private Task OnPlanOverageAsync(PlanOverage planOverage, CancellationToken cancellationToken = default(CancellationToken)) {
            if (planOverage != null)
                return GroupSendAsync(planOverage.OrganizationId, planOverage);

            return Task.CompletedTask;
        }