public async Task <bool> Seed() { var bulb = ProductFactory.CreateBulbProduct(); var table = ProductFactory.CreateTableProduct(); return(await Repository.Create(bulb) .MapAsync( x => x ? Repository.Create(table) : Task.FromResult(false)) .ConfigureAwait(false)); }