public ActionResult ContinueRegistration(RegisterModel model)
        {
            if (model.tipkorisnika){
                RegisterEmployeeModel employeeModel = new RegisterEmployeeModel(model);

                return View("ContinueRegistrationEmployee", employeeModel);
            }
            else
            {
                RegisterEmployerModel employerModel = new RegisterEmployerModel(model);
                return View("ContinueRegistrationEmployer", employerModel);
            }
        }
 public RegisterEmployeeModel(RegisterModel model)
 {
     this.UserName = model.UserName;
     this.Password = model.Password;
     this.Email = model.Email;
 }