// GET: api/PurchaseDetails/5 public IEnumerable <PURCHASEDETAILS> Get(int id) { return(PurchaseDetailsBLL.GetPurchaseDetail(id)); }
// POST: api/PurchaseDetails public bool Post([FromBody] PURCHASEDETAILS details) { return(PurchaseDetailsBLL.InsertPurchaseDetails(details)); }
// GET: api/PurchaseDetails public IEnumerable <PURCHASEDETAILS> Get() { return(PurchaseDetailsBLL.GetAllPurchaseDetails()); }