Example #1
0
 public async Task AddContainer(PhysicalDocumentContainer container)
 {
     dbContext.Add(container);
     await dbContext.SaveChangesAsync();
 }
 public async Task AddPhysicalDocument(PhysicalDocument physicalDocument)
 {
     dbContext.Add(physicalDocument);
     await dbContext.SaveChangesAsync();
 }
Example #3
0
 public async Task AddProperty(Property property)
 {
     dmsDbContext.Add <Property>(property);
     await dmsDbContext.SaveChangesAsync();
 }
 public async Task AddCategory(Category category)
 {
     dmsDbContext.Add <Category>(category);
     await dmsDbContext.SaveChangesAsync();
 }
 public async Task AddPropertyField(PropertyField propertyField)
 {
     dmsDbContext.Add <PropertyField>(propertyField);
     await dmsDbContext.SaveChangesAsync();
 }
Example #6
0
 public async Task AddFile(File file)
 {
     dmsDbContext.Add <File>(file);
     await dmsDbContext.SaveChangesAsync();
 }
 public async Task AddCategoryDocument(CategoryDocument categoryDocument)
 {
     dmsDbContext.Add <CategoryDocument>(categoryDocument);
     await dmsDbContext.SaveChangesAsync();
 }
Example #8
0
 public async Task AddDocumentType(DocumentType documentType)
 {
     dmsDbContext.Add <DocumentType>(documentType);
     await dmsDbContext.SaveChangesAsync();
 }
Example #9
0
 public async Task AddDocument(Document document)
 {
     dmsDbContext.Add <Document>(document);
     await dmsDbContext.SaveChangesAsync();
 }
 public async Task AddPropertyValue(PropertyValue propertyValue)
 {
     dmsDbContext.Add <PropertyValue>(propertyValue);
     await dmsDbContext.SaveChangesAsync();
 }