示例#1
0
 /// <summary>
 /// 修改年级名称
 /// </summary>
 /// <param name="id"></param>
 /// <param name="name"></param>
 /// <returns></returns>
 public static async Task ChangeName(Guid id, string name)
 {
     using (var gradeSvc = new GradeService())
     {
         await gradeSvc.ChangeName(id, name);
     }
 }