//AjaxDictionary<string, List<HashableGraficaPuntoMedicionModel>> public AjaxDictionary<string, object> Download_GetHashableGraficaPuntoMedicion(long IdPuntoMedicion, long FechaNumerica) { AjaxDictionary<string, object> tipos = new AjaxDictionary<string, object>(); AjaxDictionary<string, List<HashableGraficaPuntoMedicionModel>> res = new AjaxDictionary<string, List<HashableGraficaPuntoMedicionModel>>(); AjaxDictionary<string, HashableGraficaPuntoMedicionModel[]> array = new AjaxDictionary<string, HashableGraficaPuntoMedicionModel[]>(); //try //{ // HashableDataRepository repository = new HashableDataRepository(); // //tipos.Add(IdPuntoMedicion.ToString(), FechaNumerica); // array = repository.GetHashableGraficaPuntoMedicion(IdPuntoMedicion, FechaNumerica);//(new HashableDataRepository()).GetHashableGraficaPuntoMedicion((long)IdPuntoMedicion, (long)FechaNumerica); //} //catch (Exception ex) //{ // tipos.Add("Download", ex.Message); //} try { //array.Add("res", new HashableGraficaPuntoMedicionModel[] { new HashableGraficaPuntoMedicionModel() { FechaNumerica = 1, Valor = 1 } }); HashableDataRepository repository = new HashableDataRepository(); tipos = repository.GetHstTableGraficaPuntoMedicion(IdPuntoMedicion, FechaNumerica); } catch (Exception ex) { tipos.Add("Download", ex.Message); } return tipos; }