public static SortableCollection<KeyValuePair<DateTime,decimal>> GetSalesForPastDays( int dayCount, bool includeZeros )
Parameters
- dayCount
- Can be between 1 to 15
- includeZeros
- Whether to include zero amount sales or not
Return Value
A collection of Key-Value pairs with each key representing the date(day) and each value representing the total sale