public BaseResponse <List <Product> > GetByFood()
        {
            BaseResponse <List <Product> > response = null;

            try
            {
                int            foodId   = int.Parse(Request.Query["search"]);
                List <Product> products = businessLogicLayer.FindProductsByFood(foodId);
                response = new BaseResponse <List <Product> >(products);
            }
            catch (Exception ex)
            {
                response = new BaseResponse <List <Product> > {
                    Error = ex.Message
                };
            }
            return(response);
        }