This commit is contained in:
Collin Barrett 2018-01-22 06:25:08 -06:00
parent aa95507f0a
commit 7ad3afa6df

View file

@ -71,7 +71,7 @@ private static List<TEntityType> GetSeedRows<TEntityType>()
#if DEBUG
var path = Path.GetFullPath(Path.Combine(@"..\..\", DataDirectory));
#else
var path = Path.GetFullPath(SeedDirectory);
var path = Path.GetFullPath(DataDirectory);
#endif
return JsonConvert.DeserializeObject<List<TEntityType>>(
File.ReadAllText(path + Path.DirectorySeparatorChar + typeof(TEntityType).Name + ".json"));