Ejemplo n.º 1
0
        public async Task <IActionResult> LoadData()
        {
            try {
                var result = _service.LoadAlbumsData(HttpContext, _apiConfig.Value.ApiAlbumPath);

                return(Json(result));
            }
            catch (Exception ex)
            {
                return(Json(null));
            }
        }