示例#1
0
文件: SaveForm.cs 项目: sgww/cozy
 private void Save(string name, double mark)
 {
     BoredApi.Save(new BoredModel()
     {
         name = name, time = mark
     });
 }
示例#2
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);
        }