public EntityPackTS Construct(ConstructOperationRequest request) { var type = TypeLogic.GetType(request.type); var entity = OperationLogic.ServiceConstruct(type, request.operarionSymbol, request.args); return SignumServer.GetEntityPack(entity); }
public EntityPackTS?Construct([Required, FromBody] ConstructOperationRequest request) { var entityType = TypeLogic.GetType(request.type); var entity = OperationLogic.ServiceConstruct(entityType, request.GetOperationSymbol(entityType), request.args); return(entity == null ? null : SignumServer.GetEntityPack(entity)); }
public EntityPackTS Construct(ConstructOperationRequest request) { var type = TypeLogic.GetType(request.type); var entity = OperationLogic.ServiceConstruct(type, request.operarionSymbol, request.args); return(entity == null ? null : SignumServer.GetEntityPack(entity)); }