Ejemplo n.º 1
0
 public EmployeeController(ILogger <EmployeeController> logger, IRepository <Employee> empRepo, IStoredProcedureConfigurations spConfigs)
 {
     _logger        = logger;
     _empRepository = empRepo;
     _empStoredProcedureConfigurationEntity = spConfigs.Entities.SingleOrDefault(item => item.Name == "Employee");
 }
Ejemplo n.º 2
0
        // private readonly IStoredProcedureConfigurationEntity _storedProcedureConfigurationEntity;

        public Query(IRepository <T> empRepo, IStoredProcedureConfigurations spConfigs)
        {
            _repository = empRepo;
            // _storedProcedureConfigurationEntity = spConfigs.Entities
        }