public IList <Person> Index() { PersonContext context = HttpContext.RequestServices.GetService(typeof(aplikacja1.Models.PersonContext)) as PersonContext; return(context.GetAllPerson()); }