public void CanLoadMGEmployee()
        {
            arrangeMGEmployee();
            IPrepareExtendedView <List <EmployeeExtended>, string> prepareStartSurveyView = new PrepareManagerEmployeeView <List <EmployeeExtended>, string>();

            prepareStartSurveyView.Parameters = userId;
            List <EmployeeExtended> employees = prepareStartSurveyView.GetView(db);

            Assert.AreEqual(employees[0].FirstName, "Krzysztof");
        }
        // GET: MGEmployees
        public ActionResult Index()
        {
            var userId = User.Identity.GetUserId();
            IPrepareExtendedView <List <EmployeeExtended>, string> prepareStartSurveyView = new PrepareManagerEmployeeView <List <EmployeeExtended>, string>();

            prepareStartSurveyView.Parameters = userId;
            List <EmployeeExtended> employees = prepareStartSurveyView.GetView(_db);

            return(View(employees));
        }