/*      [Route("/ShowVacation/{personId}") ]*/
        public IActionResult ShowVacation(Guid personId)
        {
            ViewBag.PersonId = personId;
            ViewBag.person   = Personrepository.FindById(personId);
            IEnumerable <Vacation> vacations = Vacationrepository.IncludeGet(t => t.People).Where(i => i.Peopleid == personId);

            return(View(vacations));
        }
        public IActionResult NewVacation()
        {
            List <NewVacationAdmin> newVacations = new List <NewVacationAdmin>();
            IEnumerable <Vacation>  vacations    = Vacationrepository.IncludeGet(p => p.People).Where(x => x.ConfirmedVacation == false);

            foreach (Vacation vacation in vacations)
            {
                newVacations.Add(new NewVacationAdmin
                {
                    Id         = vacation.Id,
                    StartDate  = vacation.FirstDate,
                    FinishDate = vacation.SecontDate,
                    Days       = vacation.Days,
                    FirstName  = vacation.People.Name,
                    LastName   = vacation.People.LastName,
                    PersonId   = vacation.People.Id
                }
                                 );
            }
            return(View(newVacations));
        }