예제 #1
0
 private static AccountRow GetSampleAccount()
 {
     return(new AccountRow
     {
         Id = Guid.NewGuid(),
         Username = Username,
         PasswordHash = Salt + SarUserService.HashPassword(Password, Salt),
         Email = "*****@*****.**",
         FirstName = "First",
         LastName = "Last"
     });
 }
예제 #2
0
 public ApiController(SarUserService service, ILogger log)
 {
     _userService = service;
     _log         = log;
 }
예제 #3
0
 public AccountController(SarUserService service, IConfigService config)
 {
     _userService = service;
     _config      = config;
 }