Beispiel #1
0
        public async Task put(int id, ClasroomRequest request)
        {
            var model = await _repository.GetByIdAsync(id);

            model.Name = request.Name;
            await _repository.Put(model);
        }