Beispiel #1
0
 /// <summary>
 /// 删除一个实体
 /// </summary>
 /// <param name="_entity"></param>
 /// <returns></returns>
 public int Delete(int Id)
 {
     return(dal.Delete(Id));
 }
        public ActionResult Delete(int id)
        {
            _venuesRepository.Delete(id);

            return(RedirectToAction("Index"));
        }