예제 #1
0
 public decimal GetCustomerSettlementAmt([FromBody] TblSalesBillMt salebill)
 {
     try
     {
         decimal settlementamt = this._repoWrapper.Product.GetCustomerSettlementAmt(salebill);
         return(settlementamt);
     }
     catch (Exception e)
     {
         return(0);
     }
 }
예제 #2
0
 public decimal GetCustomerOutstandingAmt([FromBody] TblSalesBillMt salebill)
 {
     try
     {
         decimal oustanding = this._repoWrapper.Product.GetCustomerOutstandingAmt(salebill);
         return(oustanding);
     }
     catch (Exception e)
     {
         return(0);
     }
 }
예제 #3
0
        public bool SaveFarmerChickEggBillMaster([FromBody] TblSalesBillMt salesBillMt)
        {
            try
            {
                this._repoWrapper.Product.SaveFarmerChickEggBillMaster(salesBillMt);
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }
예제 #4
0
        public bool DeleteChickEggsBill([FromBody] TblSalesBillMt salebill)
        {
            try
            {
                this._repoWrapper.Product.DeleteSaleBill(salebill);
                return(true);
            }

            catch (Exception e)
            {
                return(false);
            }
        }