Beispiel #1
0
        public CarteraResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
        }
Beispiel #2
0
 public GrupoUsuarioResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     GruposUsuarios = new List<SuperGym.Records.GrupoUsuario>();
 }
Beispiel #3
0
 public TiposPagoGetResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     TiposPago = new List<TipoPago>();
 }
         public static Response<PedidoItem> Get(this PedidoItem request,Factory factory,
                                           IAuthSession authSession)
        {
            try{
            var data = factory.Execute(proxy=>{
                var visitor = ReadExtensions.CreateExpression<PedidoItem>();
                visitor.Where(r=>r.IdPedido==request.IdPedido);
                return proxy.Get(visitor);
            });
                        
            return new Response<PedidoItem>(){
                Data=data

            };
            }
            catch(Exception e){
                ResponseStatus rs = new ResponseStatus(){
                    Message= e.Message,
                    StackTrace=e.StackTrace,
                    ErrorCode= e.ToString()
                };
                return new Response<PedidoItem>(){
                    ResponseStatus=rs
                };
            }
        }
Beispiel #5
0
 public MunicipiosGetResponse()
 {
     ResponseStatus = new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Municipios = new List<Municipio>();
 }
        public InfanteAuxResponse ()
        {
            ResponseStatus= new ResponseStatus();
			CursoList = new List<Curso>();
			ClaseList = new List<Clase>();
            
        }
Beispiel #7
0
 public PersonaGetResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Persona = new Persona();
 }
        public FacturaSiguienteNumeroGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
        }
 public TiposDocumentoGetResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     TiposDocumento = new List<TipoDocumento>();
 }
        public DetalleFacturasDiaGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
        }
 public SuspensionesGetResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Suspensiones = new List<Suspension>();
 }
 public FacturaPagoAnularResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Factura= new Pago();
 }
        public CajaConsolidadoGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
        }
		public AuthenticationResponse ()
		{
			ResponseStatus= new ResponseStatus();
			Permissions= new List<string>();
			Roles = new List<AuthRole>();
			
		}
Beispiel #15
0
 public GrupoActividadResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     GruposActividades = new List<SuperGym.Records.GrupoActividad>();
 }
 public SuspensionDeleteResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Factura = new Pago();
 }
Beispiel #17
0
        public CajaCierreGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
        }
Beispiel #18
0
 public TipoPagoInsertResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     TipoPago = new TipoPago();
 }
 public InfanteInfoResponse ()
 {
     ResponseStatus= new ResponseStatus();
     InfantePadreList= new List<InfantePadre>();
     InfanteAcudienteList= new List<InfanteAcudiente>();
     MatriculaList = new List<Matricula>();
     PensionList = new List<Pension>();
 }
Beispiel #20
0
        public DeCajaInsertResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            DeCaja = new Decaja();
        }
Beispiel #21
0
        public CorreoResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            Correos = new List<SuperGym.Records.Correo>();
        }
Beispiel #22
0
 public PersonaValidarResponse()
 {
     ResponseStatus= new ResponseStatus();
     ResponseStatus.Message="OK";
     Success=false;
     Persona = new Persona();
     Factura = new Pago();
 }
Beispiel #23
0
        public DeCajasGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            DeCajas = new List<Decaja>();
        }
        public FacturacionDiaGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            FacturacionDia= new List<FacturacionDia>();
        }
        public PersonaFacturasGetResponse()
        {
            ResponseStatus= new ResponseStatus();
            ResponseStatus.Message="OK";
            Success=false;

            Facturas= new List<Pago>();
        }
Beispiel #26
0
        public ConceptosGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            Conceptos = new List<Concepto>();
        }
        public ClasificacionesGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            Clasificaciones= new List<Clasificacion>();
        }
        public ConceptosCajaGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;
            Ingresos = new List<Concepto>();
            Egresos = new List<Concepto>();
        }
Beispiel #29
0
        public ProfesionesGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;

            Profesiones = new List<Profesion>();
        }
        public PersonasInactivasGetResponse()
        {
            ResponseStatus= new ResponseStatus();

            ResponseStatus.Message="OK";
            Success=false;

            PersonasInactivas= new List<PersonaInactiva>();
        }