public ActionResult Edit(Model_country obj)
        {
            tbl_country tb = db.tbl_countries.Where(x => x.country_id == obj.country_id).Single <tbl_country>();

            tb.country_name = obj.country_name;
            tb.country_id   = obj.country_id;
            db.SubmitChanges();

            return(RedirectToAction("Index"));
        }
        public ActionResult Delete(Int16 id)
        {
            Model_country obj = db.tbl_countries.Where(x => x.country_id == id).Select(x => new Model_country()
            {
                country_id   = x.country_id,
                country_name = x.country_name
            }).SingleOrDefault();

            return(View(obj));
        }
        public ActionResult Create(Model_country obj)
        {
            tbl_country tb = new tbl_country();

            tb.country_name = obj.country_name;
            db.tbl_countries.InsertOnSubmit(tb);
            db.SubmitChanges();

            return(RedirectToAction("Index"));
        }