public TicketService(IRestClient restClient, IExternalIpAddressService externalIpAddressService, IHttpContextAccessor httpContextAccessor) { var browser = httpContextAccessor.HttpContext.Request.Headers["User-Agent"]; _restClient = restClient; _externalIpAddressService = externalIpAddressService; }
public SetWallpaperService(IExternalIpAddressService externalIpAddressService) { _externalIpAddressService = externalIpAddressService; }