示例#1
0
        public EntityPackTS ConstructFromMany(OperationController.MultiOperationRequest request)
        {
            var type = request.type == null ? null : TypeLogic.GetType(request.type);

            var entity = PackageLogic.CreatePackageOperation(request.lites, request.operarionSymbol, request.args);

            return(SignumServer.GetEntityPack(entity));
        }
示例#2
0
        public ActionResult ProcessFromMany()
        {
            var lites = this.ParseLiteKeys <Entity>();

            ProcessEntity process = PackageLogic.CreatePackageOperation(lites, this.GetOperationKeyAssert());

            return(this.DefaultConstructResult(process));
        }
示例#3
0
        public EntityPackTS ConstructFromMany([Required, FromBody] OperationController.MultiOperationRequest request)
        {
            var type = request.Type == null ? null : TypeLogic.GetType(request.Type);

            var entity = PackageLogic.CreatePackageOperation(request.Lites, request.GetOperationSymbol(type !), request.Args);

            return(SignumServer.GetEntityPack(entity));
        }