/// <summary> /// Gets the archive model for the current request. /// </summary> /// <returns>The model</returns> protected ArchiveModel GetModel <T>() where T : ArchiveModel { return(ArchiveModel.GetById <T>(PostTypeId, Page, Year, Month)); }