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

            if (baseMonthlyInformationDBAccess.Insert(baseMonthlyInformation) > 0)
            {
                return(true);
            }
            return(false);
        }
Beispiel #3
0
 // This fuction does not contain any business logic, it simply returns the
 // list of baseMonthlyInformations, we can put some logic here if needed
 public Int64 Insert(BaseMonthlyInformation baseMonthlyInformation)
 {
     return(baseMonthlyInformationDb.Insert(baseMonthlyInformation));
 }