Пример #1
0
        private async Task FileClosed(DateInputViewModel model)
        {
            var fileClosed = new SetNotifcationFileClosedDate(model.NotificationId,
                                                              model.NewDate.AsDateTime().GetValueOrDefault());

            await mediator.SendAsync(fileClosed);
        }
        private async Task FileClosed(DateInputViewModel model)
        {
            var fileClosed = new SetNotifcationFileClosedDate(model.NotificationId, 
                model.NewDate.AsDateTime().GetValueOrDefault());

            await mediator.SendAsync(fileClosed);
        }