-
-
Notifications
You must be signed in to change notification settings - Fork 751
Expand file tree
/
Copy pathUserEndpoints.cs
More file actions
29 lines (25 loc) · 1.01 KB
/
UserEndpoints.cs
File metadata and controls
29 lines (25 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
namespace BlazorHero.CleanArchitecture.Client.Infrastructure.Routes
{
public static class UserEndpoints
{
public static string GetAll = "api/identity/user";
public static string Get(string userId)
{
return $"api/identity/user/{userId}";
}
public static string GetUserRoles(string userId)
{
return $"api/identity/user/roles/{userId}";
}
public static string ExportFiltered(string searchString)
{
return $"{Export}?searchString={searchString}";
}
public static string Export = "api/identity/user/export";
public static string Register = "api/identity/user";
public static string ToggleUserStatus = "api/identity/user/toggle-status";
public static string ForgotPassword = "api/identity/user/forgot-password";
public static string ResetPassword = "api/identity/user/reset-password";
public static string ResendMail = "api/identity/user/resend-mail";
}
}