Exemplo n.º 1
0
        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));
        }
Exemplo n.º 2
0
        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));
        }