public AssetEntryUnitOfWork(AssetDbContext context)
        {
            _context = context;

            AssetEntry         = new AssetEntryRepository(_context);
            Finance            = new FinanceRepository(_context);
            ServiceOrRepairing = new ServiceOrRepairingRepository(_context);
            Note      = new NoteRepository(_context);
            Attchment = new AttachmentRepository(_context);
        }
 public AssetEntryUnitOfWork(AssetDbContext context)
 {
     _context   = context;
     AssetEntry = new AssetEntryRepository(_context);
 }