public ActionResult Index1()
        {
            Company company = new Company("AybarSoft");

            return View(company);
        }
        public ActionResult Index()
        {
            //Company company = new Company("AybarSoft");

            //ViewBag.Departments = new SelectList(company.Departments, "Id", "Name");
            //ViewBag.CompanyName = company.CompanyName;

            Company company = new Company();
            return View(company);
        }
 public string Index(Company company)
 {
     if(string.IsNullOrEmpty(company.SelectedDepartment))
     {
         return "You did not select any department";
     }
     else
     {
         return "You selected department with Id : " + company.SelectedDepartment;
     }
 }