private void Save(string name, double mark) { BoredApi.Save(new BoredModel() { name = name, time = mark }); }
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); }