public List <EProduct> ListarProducto(string local, string tipo)
        {
            List <EProduct> oboProducto = null;
            int             iLocal      = 0;


            if (String.IsNullOrEmpty(local))
            {
                throw new WebFaultException <string>("Debe ingresar el local a consultar", HttpStatusCode.InternalServerError);
            }

            if (String.IsNullOrEmpty(tipo))
            {
                throw new WebFaultException <string>("Debe ingresar el tipo de producto", HttpStatusCode.InternalServerError);
            }

            try
            {
                if (int.TryParse(local, out iLocal))
                {
                    oboProducto = daoProducto.Listar(iLocal, tipo);
                }
            }
            catch (Exception ex)
            {
                throw new WebFaultException <string>(ex.Message, HttpStatusCode.InternalServerError);
            }

            return(oboProducto);
        }
        public List <Producto> Listar()
        {
            DAOProducto daProducto = new DAOProducto();

            return(daProducto.Listar());
        }