Ejemplo n.º 1
0
        public async Task <T> ProcesarGestionColaborador <T>(object objeto)
        {
            string strJson = await VelbyRest.PostRestAsync <T>("Usuario/ProcesarGestionColaborador", objeto, Constantes.TOKEN);

            T respuesta = default(T);;

            respuesta = JsonConvert.DeserializeObject <T>(strJson);
            return(respuesta);
        }
Ejemplo n.º 2
0
        public async Task <T> ObtenerListaSubProductoAsync <T>(object objeto)
        {
            string strJson = await VelbyRest.PostRestAsync <T>("Servicio/ObtenerSubServicio", objeto, Constantes.TOKEN);

            T respuesta = default(T);

            respuesta = JsonConvert.DeserializeObject <T>(strJson);
            return(respuesta);
        }
Ejemplo n.º 3
0
        public async Task <T> ObtenerListaColaboradorAsync <T>(object objeto)
        {
            string strJson = await VelbyRest.PostRestAsync <T>("Usuario/ObtenerUsuarios", objeto, Constantes.TOKEN);

            T respuesta = default(T);

            respuesta = JsonConvert.DeserializeObject <T>(strJson);
            return(respuesta);
        }