Skip to content

Commit 4c725ef

Browse files
authored
Remove redundant methods on CacheKeys (#2495)
1 parent 5cfab8d commit 4c725ef

File tree

1 file changed

+0
-26
lines changed
  • TeachingRecordSystem/src/TeachingRecordSystem.Core

1 file changed

+0
-26
lines changed

TeachingRecordSystem/src/TeachingRecordSystem.Core/CacheKeys.cs

Lines changed: 0 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -2,32 +2,6 @@ namespace TeachingRecordSystem.Core;
22

33
public static class CacheKeys
44
{
5-
public static object GetCountryKey(string code) => $"country:{code}";
6-
7-
public static object GetEarlyYearsStatusKey(string code) => $"early_years_status:{code}";
8-
9-
public static object GetHeQualificationKey(string name) => $"he_qualification:{name}";
10-
11-
public static object GetHeSubjectKey(string name) => $"he_subject:{name}";
12-
13-
public static object GetIttProviderOrganizationByNameKey(string name) => $"organization_itt_provider_name:{name}";
14-
15-
public static object GetIttProviderOrganizationByUkprnKey(string ukprn) => $"organization_itt_provider:{ukprn}";
16-
17-
public static object GetIttSubjectKey(string name) => $"itt_subject:{name}";
18-
19-
public static object GetIttQualificationKey(string code) => $"itt_qualification:{code}";
20-
21-
public static object GetOrganizationByUkprnKey(string ukprn) => $"organization:{ukprn}";
22-
23-
public static object GetTeacherStatusKey(string code) => $"teacher_status:{code}";
24-
25-
public static object GetAllTeacherStatuses() => "all_teacher_statuses";
26-
27-
public static object GetAllEytsStatuses() => "all_eyts_statuses";
28-
29-
public static object GetSubjectTitleKey(string title) => $"subjects_{title}";
30-
315
public static object PersonInfo(Guid personId) => $"person_info:{personId}";
326

337
public static object EnabledWebhookEndpoints() => "webhook_endpoints";

0 commit comments

Comments
 (0)