Skip to content

Commit 8b50e50

Browse files
TD-3903 Refactor the branch
1 parent 91041f4 commit 8b50e50

File tree

2 files changed

+0
-10
lines changed

2 files changed

+0
-10
lines changed

DigitalLearningSolutions.Web/Services/CentresService.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,8 @@ void UpdateCentreManagerDetails(
4141
);
4242
string? GetBannerText(int centreId);
4343
string? GetCentreName(int centreId);
44-
4544
IEnumerable<(int, string)> GetCentresForDelegateSelfRegistrationAlphabetical();
4645
(bool autoRegistered, string? autoRegisterManagerEmail) GetCentreAutoRegisterValues(int centreId);
47-
4846
}
4947

5048
public class CentresService : ICentresService
@@ -142,13 +140,10 @@ public void UpdateCentreManagerDetails(int centreId, string firstName, string la
142140
{
143141
return centresDataService.GetCentreName(centreId);
144142
}
145-
146-
147143
public IEnumerable<(int, string)> GetCentresForDelegateSelfRegistrationAlphabetical()
148144
{
149145
return centresDataService.GetCentresForDelegateSelfRegistrationAlphabetical();
150146
}
151-
152147
public (bool autoRegistered, string? autoRegisterManagerEmail) GetCentreAutoRegisterValues(int centreId)
153148
{
154149
return centresDataService.GetCentreAutoRegisterValues(centreId);

DigitalLearningSolutions.Web/Services/UserService.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,6 @@ int userId
128128
string centreSpecificEmail,
129129
string registrationConfirmationHash
130130
);
131-
132131
DelegateUserCard? GetDelegateUserCardById(int id);
133132
void DeactivateDelegateUser(int delegateId);
134133
void ActivateDelegateUser(int delegateId);
@@ -138,7 +137,6 @@ string registrationConfirmationHash
138137
bool CentreSpecificEmailIsInUseAtCentre(string email, int centreId);
139138
int? GetUserIdByAdminId(int adminId);
140139
AdminUser? GetAdminUserByEmailAddress(string emailAddress);
141-
142140
}
143141

144142
public class UserService : IUserService
@@ -729,7 +727,6 @@ public void SetPrimaryEmailVerified(int userId, string email, DateTime verifiedD
729727
{
730728
return userDataService.GetUserIdAndCentreForCentreEmailRegistrationConfirmationHashPair(centreSpecificEmail, registrationConfirmationHash);
731729
}
732-
733730
public DelegateUserCard? GetDelegateUserCardById(int id)
734731
{
735732
return userDataService.GetDelegateUserCardById(id);
@@ -749,9 +746,7 @@ public int GetUserIdFromDelegateId(int delegateId)
749746
public void DeleteUserAndAccounts(int userId)
750747
{
751748
userDataService.DeleteUserAndAccounts(userId);
752-
753749
}
754-
755750
public bool PrimaryEmailInUseAtCentres(string email)
756751
{
757752
return userDataService.PrimaryEmailInUseAtCentres(email);

0 commit comments

Comments
 (0)