Exemplo n.º 1
0
        public async Task Create(AcademicYearModel academicYearModel)
        {
            var academicYear = BusinessMapper.Map <AcademicYear>(academicYearModel);

            _academicYearRepository.Create(academicYear);

            await _academicYearRepository.SaveChanges();
        }