mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
remove unneeded comments
This commit is contained in:
parent
c9ed501093
commit
f43a80a92f
1 changed files with 0 additions and 12 deletions
|
|
@ -17,17 +17,11 @@ public TableService(ITableCsvRepository tableCsvRepository)
|
|||
_tableCsvRepository = tableCsvRepository;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// update all tables via .CSVs from GitHub
|
||||
/// </summary>
|
||||
public void UpdateTables()
|
||||
{
|
||||
UpdateListTable();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// update table via List.csv from GitHub
|
||||
/// </summary>
|
||||
public void UpdateListTable()
|
||||
{
|
||||
var localCsvFilePath = FetchFile(_tableCsvRepository.GetUrlByName("List"), "List").Result;
|
||||
|
|
@ -38,12 +32,6 @@ public void UpdateListTable()
|
|||
//TODO: delete file when finished
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// fetch file as string from internet
|
||||
/// </summary>
|
||||
/// <param name="url">URL of file to fetch</param>
|
||||
/// <param name="fileName">name to save file as</param>
|
||||
/// <returns>string of file</returns>
|
||||
private static async Task<string> FetchFile(string url, string fileName)
|
||||
{
|
||||
var response = await new HttpClient().GetAsync(url);
|
||||
|
|
|
|||
Loading…
Reference in a new issue