public bool AddBaseMonthlyInformation(BaseMonthlyInformation baseMonthlyInformation) { baseMonthlyInformation.MainOfficeTypeID = this.MainOfficeTypeID; BaseMonthlyInformationDBAccess baseMonthlyInformationDBAccess = new BaseMonthlyInformationDBAccess(); if (baseMonthlyInformationDBAccess.Insert(baseMonthlyInformation)>0) return (true); return (false); }
public bool AddBaseMonthlyInformation(BaseMonthlyInformation baseMonthlyInformation) { baseMonthlyInformation.YearTypeID = this.YearTypeID; BaseMonthlyInformationDBAccess baseMonthlyInformationDBAccess = new BaseMonthlyInformationDBAccess(); if (baseMonthlyInformationDBAccess.Insert(baseMonthlyInformation) > 0) { return(true); } return(false); }
public BaseMonthlyInformationHandler() { baseMonthlyInformationDb = new BaseMonthlyInformationDBAccess(); }