private static string GetMainNoticeType(NoticeType type) { if (type.IsPriorInformation() || type == NoticeType.ExAnte) { return(nameof(NoticeTypes.PriorInformationNotices)); } if (type.IsContract()) { return(nameof(NoticeTypes.ContractNotices)); } if (type.IsContractAward()) { return(nameof(NoticeTypes.ContractAwardNotices)); } if (type == NoticeType.Modification) { return(nameof(NoticeType.Modification)); } if (type.IsNational()) { return(nameof(NoticeTypes.NationalNotices)); } return(null); }