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