public string ListandoServicios_new() { object loDatos; try { NUbicacion_Lecturas obj_negocio = new NUbicacion_Lecturas(); loDatos = obj_negocio.Capa_Negocio_Get_ListaServicios_new(); return(_Serialize(loDatos, true)); } catch (Exception ex) { return(_Serialize(ex.Message, true)); } }
public string ListandoUbicacionLecturas(string fechaAsigna, int servicio, int operario) { object loDatos; try { NUbicacion_Lecturas obj_negocio = new NUbicacion_Lecturas(); loDatos = obj_negocio.Capa_Negocio_Get_UbicacionLecturas(fechaAsigna, servicio, operario); return(_Serialize(loDatos, true)); } catch (Exception ex) { return(_Serialize(ex.Message, true)); } }
public ActionResult JsonSeguimiento_lectura_Resumen(string FechaAsiga, int servicio, int operario) { List <UbicacionOperario> list = new List <UbicacionOperario>(); try { list = new NUbicacion_Lecturas().NSeguimiento_Lecturas_Resumen(FechaAsiga, servicio, operario); } catch (Exception e) { return(new ContentResult { Content = MvcApplication._Serialize(e.Message), ContentType = "application/json" }); } return(new ContentResult { Content = MvcApplication._Serialize(list), ContentType = "application/json" }); }