public bool AddDepartmentMonthlyInformation(DepartmentMonthlyInformation departmentMonthlyInformation) { departmentMonthlyInformation.MonthTypeID = this.MonthTypeID; DepartmentMonthlyInformationDBAccess departmentMonthlyInformationDBAccess = new DepartmentMonthlyInformationDBAccess(); if (departmentMonthlyInformationDBAccess.Insert(departmentMonthlyInformation) > 0) { return(true); } return(false); }
public DepartmentMonthlyInformationHandler() { departmentMonthlyInformationDb = new DepartmentMonthlyInformationDBAccess(); }