public async Task UpdateAsync(Guid settlementId, Guid userId, string name, string description) { var user = await _userRepository.HasAccessToSettlement(userId, settlementId); var settlement = await _settlementRepository.GetSettlementOrFailAsync(settlementId); settlement.SetName(name); settlement.SetDescription(description); manager.Settle(settlement); await _settlementRepository.UpdateSettlementAsync(settlement); }