示例#1
0
文件: TopModel.cs 项目: klusha/VkWeb
 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;
 }
示例#2
0
文件: TopModel.cs 项目: klusha/VkWeb
        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);
        }