public async Task <IActionResult> Create(StudentCreateInputModel model)
        {
            if (this.ModelState.IsValid)
            {
                StudentServiceModel serviceModel = model.To <StudentServiceModel>();

                bool result = await this.studentService.CreateStudentAsync(serviceModel);

                if (result)
                {
                    return(this.RedirectToAction("All"));
                }
            }

            var classes = await this.classService.GetClassesDropdownAsync();

            this.ViewBag.ClassesNames = classes;

            return(this.View(model));
        }