Example #1
0
    public Task HandleEventAsync(EntityUpdatedEto <UserEto> eventData)
    {
        if (eventData.Entity.UserName == "john.nash")
        {
            _testCounter.Increment("EntityUpdatedEto<UserEto>");
        }

        return(Task.CompletedTask);
    }
 public TransientTestService(ITestCounter counter)
 {
     counter.Increment(nameof(TransientTestService));
 }