Esempio n. 1
0
 public async Task <Tenant?> FindOneAsync(string id)
 {
     return(await _tenantRepository.FindOneAsync(id));
 }
        public async Task <TenantProperties?> FindPropertiesAsync(string tenantId)
        {
            var tenantRow = await _tenantRepository.FindOneAsync(tenantId);

            return(tenantRow?.Properties?.Let(it => _mapper.Map <TenantProperties?>(it)));
        }
Esempio n. 3
0
        public async Task <Tenant?> FindOneAsync(string id)
        {
            var tenantRow = await _tenantRepository.FindOneAsync(id);

            return(tenantRow?.Let(it => _mapper.Map <Tenant>(it)));
        }
Esempio n. 4
0
 public async Task <TenantProperties?> FindPropertiesAsync(string tenantId)
 {
     return((await _tenantRepository.FindOneAsync(tenantId))?.Properties);
 }