public ActorCollection() { IActorContext db = DataFactory.DataFactory.GetActorContext(); _actors = new List <Actor>(); foreach (var actor in db.GetActors()) { _actors.Add(new Actor() { ActorId = actor.ActorId, ActorName = actor.ActorName, ActorInfo = actor.ActorInfo }); } }