Пример #1
0
        public ActionResult Delete(int?id, int?InducteeId)
        {
            if (id == null)
            {
                return(HttpNotFound());
            }

            FeedbackRepo.Delete(id);
            return(Redirect("/feedback/of/" + InducteeId));
        }
Пример #2
0
 /// <summary>
 /// 删除一个实体
 /// </summary>
 /// <param name="_entity"></param>
 /// <returns></returns>
 public int Delete(int fb_id)
 {
     return(dal.Delete(fb_id));
 }