public List<String> GetTopForDate(String date, int quantity, int idUser) { Dictionary<int, int> dictionaryTops = new Dictionary<int, int>(); List<String> tops = new List<String>(); DBMaster dbMaster = new DBMaster(); JSONMaster JSON = new JSONMaster(); dictionaryTops = dbMaster.FindByDate(date, quantity, idUser); tops = JSON.GetListTop(dictionaryTops); return tops; }
public List <String> GetTopForDate(String date, int quantity, int idUser) { Dictionary <int, int> dictionaryTops = new Dictionary <int, int>(); List <String> tops = new List <String>(); DBMaster dbMaster = new DBMaster(); JSONMaster JSON = new JSONMaster(); dictionaryTops = dbMaster.FindByDate(date, quantity, idUser); tops = JSON.GetListTop(dictionaryTops); return(tops); }