// GET: Document
        //public ActionResult Index()
        //{
        //    return View(contragentRepository.FindAll().ToList());
        //}

        public IActionResult Index()
        {
            organizations = organizationRepository.FindAll();
            individuals   = individualRepository.FindAll();
            Contragent ivm = new Contragent {
                Organization = organizations, Individual = individuals
            };


            return(View(ivm));
        }
 // GET: Individual
 public ActionResult Index()
 {
     return(View(individualRepository.FindAll().ToList()));
 }