示例#1
0
        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));
 }