public async Task <ActionResult> Create(CreateSectionViewModel sectionViewModel)
        {
            var existingCode = await _sectionService.FindByCode(sectionViewModel.Code);

            if (existingCode == null)
            {
                var section = new CreateSectionDto
                {
                    Code      = sectionViewModel.Code,
                    Class     = sectionViewModel.Class,
                    Period    = sectionViewModel.Period,
                    Professor = sectionViewModel.Professor,
                    Students  = sectionViewModel.Students
                };
                await _sectionService.Create(section);

                return(Ok());
            }
            else
            {
                return(BadRequest("Ya existe una seccion con este codigo"));
            }
        }