Exemplo n.º 1
0
 public Campus GetByIdAsync(int id)
 {
     if (id <= 0)
     {
         throw new ArgumentException("id错误");
     }
     return(_campusRepository.GetByIdAsync(id));
 }