public async Task <GetXblIdentityRes> GetXblIdentity(HttpContext ctx, GetXblIdentityReq req) { if (req.Type == "gamertag") { return(await _xblIdentityCache.GetByGamertag(req.Value, req.IgnoreCache)); } return(await _xblIdentityCache.GetByGamertag(req.Value, req.IgnoreCache)); }
public Task <GetXblIdentityRes> GetXblIdentity(HttpContext ctx, GetXblIdentityReq req) { return(_app.GetXblIdentity(ctx, req)); }