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)); }
public ActionResult ProcessFromMany() { var lites = this.ParseLiteKeys <Entity>(); ProcessEntity process = PackageLogic.CreatePackageOperation(lites, this.GetOperationKeyAssert()); return(this.DefaultConstructResult(process)); }
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)); }