Beispiel #1
0
 public UserUrlService(IUrlService urlService, IOptions <UserConfig> userOptions)
 {
     _urlService = urlService;
     _prefix     = urlService.JoinUrl(urlService.GetAppUrlPrefix(), userOptions.Value.UrlBase);
 }
Beispiel #2
0
 public UserAvatarService(IUrlService urlService, IOptions <UserConfig> options)
 {
     _urlService = urlService;
     _prefix     = urlService.JoinUrl(urlService.GetAppUrlPrefix(), options.Value.AvatarBase);
 }