public Plato Get(int idioma, int id)
        {
            PlatoPersistente pp    = new PlatoPersistente();
            Plato            Plato = pp.ObtenerPlato(idioma, id);

            return(Plato);
        }
        // POST: api/Plato
        public HttpResponseMessage Post([FromBody] PlatoTraducido plato)
        {
            PlatoPersistente    pp        = new PlatoPersistente();
            long                codigo    = pp.GuardarPlato(plato);
            HttpResponseMessage respuesta = Request.CreateResponse(HttpStatusCode.Created);

            return(respuesta);
        }
        // PUT: api/Plato/5
        public HttpResponseMessage Put([FromBody] PlatoTraducido value)
        {
            PlatoPersistente pp     = new PlatoPersistente();
            bool             existe = pp.ActualizarPlato(1, value);

            HttpResponseMessage respuesta;

            if (existe)
            {
                respuesta = Request.CreateResponse(HttpStatusCode.OK);
            }
            else
            {
                respuesta = Request.CreateResponse(HttpStatusCode.NotFound);
            }

            return(respuesta);
        }
        public ArrayList BuscarPorFamilia(int idioma, int familia)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.BuscarPlatosPorFamilia(idioma, familia));
        }
        public ArrayList Get(int idioma)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.ObtenerPlatos(idioma));
        }
        public Maridaje BuscarPorTag(int idioma, int plato)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.ObtenerPlatoMaridaje(idioma, plato));
        }
        public ArrayList ObtenerAlergenosPorPlato(int idioma, int plato)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.ObtenerAlergenosPorPlato(idioma, plato));
        }
        public ArrayList BuscarPlatosPorTagFamiliaYNombre(int idioma, string tag, int familia, string busqueda)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.BuscarPlatosPorTagFamiliaYNombre(idioma, tag, familia, busqueda));
        }
        public ArrayList BuscarPorTag(int idioma, string tag, int familia)
        {
            PlatoPersistente pp = new PlatoPersistente();

            return(pp.BuscarPlatosPorTagYFamilia(idioma, tag, familia));
        }