public ActionResult gridView()
        {
            EmployeeBusinessLayer empBal = new EmployeeBusinessLayer();
                List<Employee> employees = empBal.GetEmployees();

                List<EmployeeViewModel> empViewModels = new List<EmployeeViewModel>();

                foreach (Employee emp in employees)
                {
                    EmployeeViewModel empViewModel = new EmployeeViewModel();
                    empViewModel.EmployeeName = emp.firstName + " " + emp.lastName;
                    empViewModel.salary = emp.salary.ToString("C");
                    if (emp.salary > 15000)
                    {
                        empViewModel.salaryColor = "yellow";
                    }
                    else
                    {
                        empViewModel.salaryColor = "green";
                    }
                    empViewModels.Add(empViewModel);
                }
                employeeListViewModel.Employees = empViewModels;
                employeeListViewModel.UserName = "******";
                employeeListViewModel.footerViewModel = new FooterViewModel();
                employeeListViewModel.footerViewModel.CompanyName = "tombola";//Can be set to dynamic value
                employeeListViewModel.footerViewModel.Year = DateTime.Now.Year.ToString();
                return View("gridView", employeeListViewModel);
        }
        // GET: Employee
        public ActionResult GetView()
        {
            Employee emp = new Employee();
            emp.firstName = "sohaib";
            emp.lastName = "maroof";
            emp.salary = 999999;
            //viewbag.employee = emp;
            //viewdata["employee"] = emp;
            //putting viewmodel logic inside model

            EmployeeViewModel vmEmp = new EmployeeViewModel();
            vmEmp.EmployeeName = emp.firstName + " " + emp.lastName;
            vmEmp.salary = emp.salary.ToString("C");
            if (emp.salary > 15000)
            {
                vmEmp.salaryColor = "yellow";
            }
            else
            {
                vmEmp.salaryColor = "green";
            }

              //  vmEmp.UserName = "******";

            return View("MyView", vmEmp);
        }