public UnitOfWork() { var connString = ""; if (string.IsNullOrEmpty(connString)) { context = new GSMAContext(); } else { context = new GSMAContext(connString); } }
public Repository(GSMAContext context) { this.context = context; this.dbSet = context.Set <TEntity>(); }