常用方法
常用方法
常用方法
常用方法
public async Task<IDataResult<IList<Category>>> GetListAsync() { var categories = await _categoryDao.GetListAsync(); return new SuccessDataResult<IList<Category>>(categories); }
public async Task<IDataResult<IList<Category>>> GetListAsync() { var categories = await _categoryDao.GetListAsync(); return new SuccessDataResult<IList<Category>>(categories); }