public async Task SetAsActiveAsync(Guid id, SetAsActiveRequestDto input) { var currency = await _repository.GetAsync(id); currency.SetAsActive(input.IsActive); await _repository.UpdateAsync(currency); }
public Task SetAsActiveAsync(Guid id, SetAsActiveRequestDto input) { return(_service.SetAsActiveAsync(id, input)); }