public HttpResponseMessage GetIncomeProductsTableUsingSearch(HttpRequestMessage request, string searchvalue)
        {
            return(GetHttpResponse(request, () =>
            {
                HttpResponseMessage response = null;
                IncomeProductsTableTreasury[] ipt = _MPRIncomeService.GetIncomeProductsTableTreasuryUsingSearchValue(searchvalue);

                // notice no need to create a seperate model object since TeamDefinition entity will do just fine
                response = request.CreateResponse <IncomeProductsTableTreasury[]>(HttpStatusCode.OK, ipt);

                return response;
            }));
        }