public bool Update(clsAttendance businessObject, int day, int status)
        {
            if (!businessObject.IsValid)
            {
                throw new InvalidBusinessObjectException(businessObject.BrokenRulesList.ToString());
            }


            return(_dataObject.Update(businessObject, day, status));
        }
        /// <summary>
        /// Insert new clsAttendance
        /// </summary>
        /// <param name="businessObject">clsAttendance object</param>
        /// <returns>true for successfully saved</returns>
        public bool Insert(clsAttendance businessObject)
        {
            if (!businessObject.IsValid)
            {
                throw new InvalidBusinessObjectException(businessObject.BrokenRulesList.ToString());
            }


            return(_dataObject.Insert(businessObject));
        }