예제 #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);
        }