private string getCommodities() { CommodityCRUD commodity_CRUD = new CommodityCRUD(); List <Commodity> listCommodities = (List <Commodity>)commodity_CRUD.readAll(); return(JsonConvert.SerializeObject(listCommodities)); }
private string getCommodities() { CommodityCRUD commodity_CRUD = new CommodityCRUD(); List <Commodity> listCommodities = (List <Commodity>)commodity_CRUD.readAll(); return(JsonConvert.SerializeObject(listCommodities)); }