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 }); }
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 }); }