public void Delete(CTB_PER_TRIB Model)
 {
     if (Model == null)
     {
         throw new ArgumentNullException("Periodo error al deletear");
     }
     db.CTB_PER_TRIB.Remove(Model);
     db.SaveChanges();
 }
        public ActionResult Create(CTB_PER_TRIB Model)
        {
            if (this.ModelState.IsValid)
            {
                this.periodoService.Create(Model);
                return RedirectToAction("index");
            }
            else
            {
                return View(Model);

            }
        }
 public ActionResult Create()
 {
     CTB_PER_TRIB Model=new CTB_PER_TRIB();
     return View(Model);
 }