Esempio n. 1
0
 private static IEnumerable <PriceChangeItem> GetLastMonth(IEnumerable <PriceChangeItem> priceChangeHistory)
 {
     return(GetPriceList(priceChangeHistory, PDFController.FirstDayOfMonthFromDateTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(-1)), PDFController.LastDayOfMonthFromDateTime(new DateTime(DateTime.Now.Year, DateTime.Now.Month, 1).AddMonths(-1)), DateTime.Now.Date));
 }
Esempio n. 2
0
 private static IEnumerable <PriceChangeItem> GetThisMonth(IEnumerable <PriceChangeItem> priceChangeHistory)
 {
     return(GetPriceList(priceChangeHistory, PDFController.FirstDayOfMonthFromDateTime(DateTime.Now), PDFController.LastDayOfMonthFromDateTime(DateTime.Now), DateTime.Now.Date));
 }