예제 #1
0
        public async Task <ModuleDto> UpdateAsync(long id, ModuleUpdateDto input)
        {
            var module = await ModuleRepository.GetByIdAsync(id);

            module.Name = input.Name;

            return(ObjectMapper.Map <Module, ModuleDto>(module));
        }
예제 #2
0
 public Task <ModuleDto> UpdateAsync(long id, ModuleUpdateDto input)
 {
     throw new NotImplementedException();
 }