private void SetCommonViewBagVars(OdsRepository repository, string avail, string letter) { ViewBag.ErrorMsg = string.Empty; ViewBag.CurrentYearQuarter = repository.CurrentYearQuarter; ViewBag.letter = letter; ViewBag.avail = string.IsNullOrWhiteSpace(avail) ? "all" : avail; }