private async Task SetNotificationComplete(DateInputViewModel model) { var setNotificationComplete = new SetNotificationCompleteDate(model.NotificationId, model.NewDate.AsDateTime().GetValueOrDefault()); await mediator.SendAsync(setNotificationComplete); }