public static bool Delete(EasyOne.Model.Accessories.RegionInfo regionInfo) { return(dal.Delete(regionInfo.RegionId.ToString(CultureInfo.CurrentCulture))); }
public ActionResult DeleteRegion(int id) { _regionRepository.Delete(id); return(RedirectToAction("Region")); }
/// <summary> /// 删除对应数据 /// </summary> /// <param name="Id"></param> /// <returns></returns> public int Delete(object Id) { return(dal.Delete(Id)); }