public decimal GetCustomerSettlementAmt([FromBody] TblSalesBillMt salebill) { try { decimal settlementamt = this._repoWrapper.Product.GetCustomerSettlementAmt(salebill); return(settlementamt); } catch (Exception e) { return(0); } }
public decimal GetCustomerOutstandingAmt([FromBody] TblSalesBillMt salebill) { try { decimal oustanding = this._repoWrapper.Product.GetCustomerOutstandingAmt(salebill); return(oustanding); } catch (Exception e) { return(0); } }
public bool SaveFarmerChickEggBillMaster([FromBody] TblSalesBillMt salesBillMt) { try { this._repoWrapper.Product.SaveFarmerChickEggBillMaster(salesBillMt); return(true); } catch (Exception e) { return(false); } }
public bool DeleteChickEggsBill([FromBody] TblSalesBillMt salebill) { try { this._repoWrapper.Product.DeleteSaleBill(salebill); return(true); } catch (Exception e) { return(false); } }