예제 #1
0
        public async Task <bool> HandleAsync(MarkAsInterim message)
        {
            await notificationInterim.SetValue(message.NotificationId, message.IsInterim);

            await context.SaveChangesAsync();

            return(true);
        }
예제 #2
0
        public async Task CanSetValue(bool input)
        {
            await notificationInterim.SetValue(notificationId, input);

            Assert.Equal(input, facilityCollection.IsInterim);
        }