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); }
private List <BoredModel> GetRankListInfo() { return(BoredApi.QueryRank()); }