Ejemplo n.º 1
0
        private async Task<SubscriptionEvent> AddEvent(Subscription subscription)
        {
            var @event = new SubscriptionEvent();
            subscription.AddEvent(@event);
            Subscription.ScanningStatus = MidConditionStatus;

            await DbContext.SaveChangesAsync();
            return @event;
        }