public AssociatesHoursWorked(string StartDate, string EndDate)
        {
            Data objData = new Data();
            AssociateHoursWorked objInfo;
            Associates           objA = new Associates();

            iTotalMinutesWorked = 0;

            List <int> AssocsWithHours = objA.GetAssociateIdsWithHoursByDate(StartDate, EndDate);

            foreach (int associd in AssocsWithHours)
            {
                AssociateClockInHistories objACH = new AssociateClockInHistories();

                var ret = objACH.GetAllClockinsUnfiltered(StartDate, StartDate, associd);

                objInfo = new AssociateHoursWorked(StartDate, EndDate, associd);

                iTotalMinutesWorked += (objInfo.TotalHoursWorked * 60) + objInfo.TotalMinutesWorked;

                infoList.Add(objInfo);
            }

            iTotalHoursWorked  += Convert.ToInt16(iTotalMinutesWorked / 60);
            iTotalMinutesWorked = iTotalMinutesWorked % 60;
        }
 public void Add(AssociateHoursWorked Info)
 {
     infoList.Add(Info);
 }