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); }
// This fuction does not contain any business logic, it simply returns the // list of baseMonthlyInformations, we can put some logic here if needed public List <BaseMonthlyInformation> SearchLike(BaseMonthlyInformation baseMonthlyInformation) { return(baseMonthlyInformationDb.SearchLike(baseMonthlyInformation)); }
public bool Exists(BaseMonthlyInformation baseMonthlyInformation) { return(baseMonthlyInformationDb.Exists(baseMonthlyInformation)); }
// 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)); }
// This fuction does not contain any business logic, it simply returns the // list of baseMonthlyInformations, we can put some logic here if needed public bool Update(BaseMonthlyInformation baseMonthlyInformation) { return(baseMonthlyInformationDb.Update(baseMonthlyInformation)); }