常用方法
常用方法
常用方法
常用方法
public async Task put(int id, ClasroomRequest request) { var model = await _repository.GetByIdAsync(id); model.Name = request.Name; await _repository.Put(model); }
public async Task put(int id, ClasroomRequest request) { var model = await _repository.GetByIdAsync(id); model.Name = request.Name; await _repository.Put(model); }