public ActionResult RegisterVku(RegisterVkuViewModel vm)
        {
            Registration registration = vm.Registration;

            registration.Courses.Add(this.context.Courses.FirstOrDefault(c => c.Id == vm.Course1));
            registration.RegistrationDateTime = DateTime.Now;
            this.context.Registrations.Add(registration);
            this.context.SaveChanges();
            MailService.ConfirmRegistrationDirect(registration.Id);
            MailService.ConfirmRegistrationInformBackoffice(registration.Id);
            return this.RedirectToAction("RegistrationSuccessful", vm);
        }
 /// <summary>
 /// The register vku.
 /// </summary>
 /// <returns>
 /// The <see cref="ActionResult"/>.
 /// </returns>
 public ActionResult RegisterVku()
 {
     var vm = new RegisterVkuViewModel();
       return this.View(vm);
 }