Exemplo n.º 1
0
        public async Task <IActionResult> GetSpecificCharacterOrders(string characterId)
        {
            var resp = _marketCharacterOrders.GetMultiple(new { characterId });

            if (resp == null)
            {
                return(NotFound());
            }

            return(await Task.FromResult(Json(resp)));
        }
Exemplo n.º 2
0
        public async Task <IActionResult> GetHistoryOrders(string regionId, string typeId)
        {
            var resp = _marketHistory.GetMultiple(new { regionId, typeId });

            if (resp == null)
            {
                return(NotFound());
            }

            return(await Task.FromResult(Json(resp)));
        }