public IActionResult FormTest([FromForm] RegisterViewModel model) { repository.AddRE(model.ToEntity()); return(View()); }