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)); }
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)); }
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)); }
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)); }
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)); }
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)); }