Beispiel #1
0
        public IActionResult DeleteAll(List <long> ids)
        {
            var  list = _warehouseS.GetList(c => ids.Contains(c.WarehouseId));
            bool b    = _warehouseS.Delete(list);

            return(Json(AjaxResult(b)));
        }
Beispiel #2
0
 /// <summary>
 /// 获得数据列表
 /// </summary>
 public DataSet GetList(string strWhere)
 {
     return(dal.GetList(strWhere));
 }