示例#1
0
        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));
        }
示例#2
0
        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));
        }