常用方法
常用方法
常用方法
常用方法
public NameResponse GetLevel(int id) { NameResponse response = new NameResponse(); try { Level level = levelServ.FindById(id); response.id = level.id; response.name = level.name; } catch (Exception exception) { Console.WriteLine(exception.Message.ToString()); } return(response); }