public ActionResult Create(Company model, FormCollection collection)
        {
            try
            {
                if (ModelState.IsValid)
                {
                    Repository.Add(model);
                    Repository.Save();
                    return RedirectToAction("Index");
                }

                return View(model);
            }
            catch
            {
                return View();
            }
        }
 public void Delete(Company model)
 {
     db.Companies.Remove(model);
 }
 //
 // Insert/Delete Methods
 public void Add(Company model)
 {
     db.Companies.Add(model);
 }