public static void EnsureSeeded(this DocumentDbContext context)
 {
     if (!context.DocumentsTypes.Any())
     {
         var types = JsonConvert.DeserializeObject <List <DocumentType> >(File.ReadAllText("Seeds" + Path.DirectorySeparatorChar + "DocumentTypes.json"));
         context.AddRange(types);
         context.SaveChanges();
     }
 }