/// <summary> /// 删除 /// </summary> /// <param name="model">实体</param> /// <returns>是否成功</returns> public bool Del(int id) { Product model = new Product(); model.Id = id; return(dal.Del(model)); }