public async Task <List <Actor> > LoadAliveActors(ICurrencyProvider currencyProvider, IRuleLibrary ruleLibrary) { var aliveActors = new List <Actor>(); var dtoActorData = await actorProvider.LoadAliveActors(); foreach (var dtoData in dtoActorData) { var actor = new Actor(currencyProvider, ruleLibrary) { Data = DbActorToModel(dtoData) }; aliveActors.Add(actor); } return(aliveActors); }