public EmployeeService() { var context = new IMContext(); var unit = new UnitOfWork(context); _employeeService = new Repository <Employee>(context, unit); }
public GroupRepository(IMContext context, ReportException exHandler) : base(context, exHandler) { }
public GenericRepository(IMContext context, ReportException exHandler) { this.context = context; this.exHandler = exHandler; this.dbSet = context.Set <TEntity>(); }
public DocumentRepository(IMContext context, ReportException exHandler) : base(context, exHandler) { }