public async Task <DepartmentDto> UpdateAsync(long id, DepartmentUpdateDto input) { var department = await DepartmentRepository.GetByIdAsync(id); department.Name = input.Name; department.EmailAddress = input.EmailAddress; return(ObjectMapper.Map <Department, DepartmentDto>(department)); }
public Task <DepartmentDto> UpdateAsync(long id, DepartmentUpdateDto input) { throw new NotImplementedException(); }