put DayOfWeek and Day into the DailyLogs object to help flatten. changed GetTimeLogList to return List<DailyLogs>. #15
18 lines
445 B
C#
18 lines
445 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Interfaces
|
|
{
|
|
public class DailyLogs
|
|
{
|
|
public DailyLogs()
|
|
{
|
|
Logs = new List<TimeLog>();
|
|
}
|
|
public DayOfWeek Day { get; set; }
|
|
public string DayOfWeek { get; set; }
|
|
public int LogCount { get { return Logs.Count; } }
|
|
public double DailyTotal { get; set; }
|
|
public List<TimeLog> Logs { get; set; }
|
|
}
|
|
} |