Ejemplo n.º 1
0
        public IHttpActionResult PackageList(TaskWorkCondition condition)
        {
            condition.Status   = TaskWorkStatus.Holding;
            condition.TypeCode = FlowCode.Reimage_Package;

            int totalSize;
            var data = TaskWork.Query(condition, out totalSize).ToList();

            return(Ok(new { data, totalSize }));
        }