When debugging only app.Services.GetRequiredService<IPCRBService>(); Injected AppSettings instead of using GetEnvironmentVariable at Services level Get ready to use VSCode IDE
11 lines
292 B
C#
11 lines
292 B
C#
namespace MesaFabApproval.Shared.Models;
|
|
|
|
public class Role {
|
|
private string Value { get; set; }
|
|
|
|
private Role(string value) { this.Value = value; }
|
|
|
|
public static Role MRB_APPROVER { get { return new Role("MRB Approver"); } }
|
|
|
|
public override string ToString() => Value;
|
|
} |