예제 #1
0
        public async Task <Unit> Handle(UpdateCollectionCalendarPeriodCommand command, CancellationToken cancellationToken)
        {
            var request = new UpdateCollectionCalendarPeriodRequestData
            {
                PeriodNumber = command.PeriodNumber,
                AcademicYear = command.AcademicYear,
                Active       = command.Active
            };

            await _employerIncentivesService.UpdateCollectionCalendarPeriod(request);

            return(Unit.Value);
        }