/// <summary> /// This method is used to get all taxes /// </summary> /// <returns></returns> public List <TaxModel> GetAllTaxes() { ITaxCodesAndRatesDAL taxCRBL = new TaxCodesAndRatesDAL(); List <TaxModel> lstTaxes = taxCRBL.GetAllTaxes(); foreach (var e in lstTaxes) { e.StrTaxRate = Convert.ToString(e.TaxRate) + " %"; } return(lstTaxes); }
public TaxModel GetDefaultTaxes() { ITaxCodesAndRatesDAL objTax = new TaxCodesAndRatesDAL(); return(objTax.GetAllTaxes().FirstOrDefault()); }
public List <TaxModel> GetDefaultTaxes() { ITaxCodesAndRatesDAL objTax = new TaxCodesAndRatesDAL(); return(objTax.GetAllTaxes()); }
public string IsTaxDeleted(int Id) { ITaxCodesAndRatesDAL taxCRBL = new TaxCodesAndRatesDAL(); return(taxCRBL.IsTaxDeleted(Id)); }