Exemple #1
0
        public async Task <RealmBackendDTO> CreateAndSaveRealm(string realmDesc)
        {
            var realm = Realm.Create(realmDesc);

            await _repository.SaveRealmAsync(realm);

            return(new RealmBackendDTO()
            {
                Id = realm.Id, RealmDesc = realm.RealmDesc
            });
        }