public IActionResult OnGet(int InfoId)
 {
     GeneralInfo = _infoRepository.GetElementById(InfoId);
     if (GeneralInfo == null)
     {
         return(RedirectToPage("./NotFound"));
     }
     return(Page());
 }