public UnitOfWork(InsuranceDb context) { _context = context; }
public Repository(InsuranceDb db) { Db = db; DbSet = Db.Set <TEntity>(); }