public async Task UpdateComponentAsync(Component component) { await componentRepository.UpdateAsync(component); }
public async Task CreateComponentAsync(Component component) { await componentRepository.AddAsync(component); }