示例#1
0
        static void Main(string[] args)
        {
            string aname = Console.ReadLine();
            double atime = double.Parse(Console.ReadLine());

            BoredApi.Save(new Core.Model.BoredModel
            {
                name = aname,
                time = atime
            });
            BoredApi.QueryRank();
            BoredApi.GetRank(1);
            Console.WriteLine(aname + ":" + atime);
        }
示例#2
0
 private List <BoredModel> GetRankListInfo()
 {
     return(BoredApi.QueryRank());
 }