示例#1
0
        public bool EliminarOrdenH(int id)
        {
            JsonHelper <OrdenHeader> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <OrdenHeader> .Delete(queryParams, "/ordenh/eliminar-orden_h/" + id.ToString()));
        }
示例#2
0
        public bool EliminarMesa(int id)
        {
            JsonHelper <Mesas> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Mesas> .Delete(queryParams, "/mesas/eliminar-mesa/" + id.ToString()));
        }
示例#3
0
        public bool EliminarProducto(int id)
        {
            var queryParams = new Dictionary <string, string>();

            JsonHelper <Productos> .Token = Token;
            return(JsonHelper <Productos> .Delete(queryParams, "/productos/eliminar-producto/" + id.ToString()));
        }
示例#4
0
        public bool EliminarIngrediente(int id)
        {
            JsonHelper <Ingredientes> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Ingredientes> .Delete(queryParams, "/ingredientes/eliminar-ingrediente/" + id.ToString()));
        }
示例#5
0
        public bool EliminarReserva(int id)
        {
            JsonHelper <Reserva> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Reserva> .Delete(queryParams, "/reservas/eliminar-reserva/" + id.ToString()));
        }
示例#6
0
        public bool EliminarProveedor(string rut)
        {
            JsonHelper <Proveedores> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Proveedores> .Delete(queryParams, "/proveedores/eliminar-proveedor/" + rut));
        }
示例#7
0
        public bool EliminarCliente(int rut)
        {
            JsonHelper <Clientes> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Clientes> .Delete(queryParams, "/clientes/eliminar-cliente/" + rut));
        }
示例#8
0
        public bool EliminarDocumento(int id)
        {
            JsonHelper <Documentos> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Documentos> .Delete(queryParams, "/documentos/eliminar-documento/" + id.ToString()));
        }
示例#9
0
        public bool EliminarPlatillo(int id)
        {
            JsonHelper <Platillo> .Token = this.Token;
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Platillo> .Delete(queryParams, "/platillos/eliminar-platillo/" + id.ToString()));
        }
示例#10
0
        public bool EliminarUsuario(int rut)
        {
            var queryParams = new Dictionary <string, string>();

            return(JsonHelper <Usuario> .Delete(queryParams, "/usuarios/eliminar-usuario/" + rut));
        }
示例#11
0
 public bool EliminarPedidos_H(int id)
 {
     JsonHelper<Pedidos_H>.Token = this.Token;
     var queryParams = new Dictionary<string, string>();
     return JsonHelper<Pedidos_H>.Delete(queryParams, "/pedidos_h/eliminar-pedido_h/" + id.ToString());
 }