added comments for code readability
added more comments at the attendancemodel.cs