Exemple #1
0
        public async Task <IActionResult> GetSquare5x5Async(int i, int j)
        {
            var query = queryFactory.CreateSquare5x5Query(i, j);

            try
            {
                return(Json(await query.GetJsonAsync()));
            }
            catch (NotFoundException)
            {
                return(NotFound());
            }
        }