public ActionResult PeriodForYearAndMonth(int year, int month) { var allPeriods = Doc.GetEuFinsDocumentsPeriods(siteLangId: this.Language.Id).ToList(); var period = YearMonth.Create(year, month); return(this.PeriodInternal(period, period, allPeriods)); }
public ActionResult PeriodForYear(int year) { var allPeriods = Doc.GetEuFinsDocumentsPeriods(siteLangId: this.Language.Id).ToList(); var startPeriod = YearMonth.Create(year, 1); var endPeriod = YearMonth.Create(year, 12); return(this.PeriodInternal(startPeriod, endPeriod, allPeriods)); }