public async Task <bool> HandleAsync(MarkAsInterim message) { await notificationInterim.SetValue(message.NotificationId, message.IsInterim); await context.SaveChangesAsync(); return(true); }
public async Task CanSetValue(bool input) { await notificationInterim.SetValue(notificationId, input); Assert.Equal(input, facilityCollection.IsInterim); }