public IActionResult EditPro(Models.TbProvince model) { db.TbProvince.Update(model); db.SaveChanges(); return(RedirectToAction("ProList")); }
public IActionResult CreatePro(Models.TbProvince model) { db.TbProvince.Add(model); db.SaveChanges(); return(RedirectToAction("ProList")); }