예제 #1
0
        public IHttpActionResult GetStocksaledisputeByStocksale_Filter_stocksaleid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.StockSaleDispute, Stocksaledispute>("StockSaleDispute", "StockSaleId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }
예제 #2
0
        public IHttpActionResult GetManagerByUser_Filter_userid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.Manager, Manager>("Manager", "UserId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }
예제 #3
0
        public IHttpActionResult GetAttributelovByAttribute_Filter_attibuteid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.AttributeLov, Attributelov>("AttributeLov", "AttibuteId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }
예제 #4
0
        public IHttpActionResult GetProductByCategory_Filter_categoryid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.Product, Product>("Product", "CategoryId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }
예제 #5
0
        public IHttpActionResult GetStockByManager_Filter_managerid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.Stock, Stock>("Stock", "ManagerId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }
예제 #6
0
        public IHttpActionResult GetProductattributeByProduct_Filter_productid(int id)
        {
            var list = _repository.GetXByFK <BSS_DataAccess.ProductAttribute, Productattribute>("ProductAttribute", "ProductId", id.ToString());

    #if DEBUG
            list.ToList().ForEach(x => x.SetLinks());
    #endif
            return(Json(list));
        }