Modified Documents api for InMemory Logic

This commit is contained in:
uppuv
2023-08-31 19:12:47 -04:00
parent fd65417a7b
commit d78d5e0ba4
4 changed files with 3 additions and 13 deletions

View File

@ -49,7 +49,7 @@ namespace DamageAssesment.Api.Documents.Providers
}
if (!DocumentDbContext.DocumentsTranslations.Any())
{
Db.DocumentsTranslation documents = new Db.DocumentsTranslation { Id = 0, DocumentId = 1, title = "Test", description = "ss", Language = "en" };
Db.DocumentsTranslation documents = new Db.DocumentsTranslation { DocumentId = 1, title = "Test", description = "ss", Language = "en" };
DocumentDbContext.DocumentsTranslations.Add(documents);
DocumentDbContext.SaveChanges();
}