public bool BllUpdateSelectedCharge(int ChargeId, string ChargeNote, string ConvertedCostCharge) { //Convert Cost from string to float float flcostofstring = Convertation.ConvStrToFloat(ConvertedCostCharge); return(dal.DalUpdateSelectedCharge(ChargeId, ChargeNote, flcostofstring)); }
public bool BllAddNewCharge(string chargenote, string convertedcostcharge, string convertchargesbydate) { //Convert Cost from string to float float flcostofstring = Convertation.ConvStrToFloat(convertedcostcharge); //Convert Charges from string to DateTime DateTime chargesbydate = Convert.ToDateTime(convertchargesbydate.Trim()); return(dal.DalAddNewCharge(chargenote, flcostofstring, chargesbydate)); }