public List <Movie> GetAll() { List <Movie> movieCatalog = new List <Movie>(); try { var jsonObject = _jsonHelper.GetJSonString(); movieCatalog = JsonConvert.DeserializeObject <List <Movie> >(jsonObject); } catch (Exception ex) { ex.LogExceptionToFile("Error.txt"); throw ex; } return(movieCatalog); }