Esempio n. 1
0
        public string Buscar_Facturados(string reporte, string cliente, string horas_convertidas, string horas_convertidas2)
        {
            if (horas_convertidas.Equals("") && horas_convertidas2.Equals(""))
            {
                horas_convertidas  = "1999-10-10";
                horas_convertidas2 = "2040-10-10";
            }
            if (horas_convertidas2.Equals(""))
            {
                horas_convertidas  = "1999-10-10";
                horas_convertidas2 = "2040-10-10";
            }
            if (horas_convertidas.Equals(""))
            {
                horas_convertidas  = "1999-10-10";
                horas_convertidas2 = "2040-10-10";
            }

            List <Reporte> list = daoreporte.listaReportefacturados(reporte, cliente, horas_convertidas, horas_convertidas2);


            string sJSONResponse = JsonConvert.SerializeObject(list, Formatting.Indented);

            return(sJSONResponse);
        }