Ejemplo n.º 1
0
 public AdminController(IConfigService configService, IEmpService empService,
                        IWebHostEnvironment webHostEnvironment, IPrizeService prizeService, IRecordService recordService)
 {
     _recordService      = recordService;
     _webHostEnvironment = webHostEnvironment;
     _prizeService       = prizeService;
     _empService         = empService;
     _configService      = configService;
 }
        public EmployeeTestService()
        {
            _mockRepository = new Mock <IEmpRepository>();
            _mockUnitWork   = new Mock <IUnitOfWorks>();
            _service        = new EmpService(_mockUnitWork.Object, _mockRepository.Object);

            empMaster = new EmployeeMasters(1, "reka", "dev", "*****@*****.**", "12586", "CBE");
            list      = new List <EmployeeMasters>()
            {
                empMaster
            };
            obj.Add("emp_id", 1);
        }
 public EmployeeMastersController(IEmpService employeeService)
 {
     // _context = context;
     _employeeService = employeeService;
 }
Ejemplo n.º 4
0
 public HomeController(IEmpService service)
 {
     this._service = service;
 }
 public EmployeeiccController(ILoggerManager logger, IMapper mapper, IEmpService _IempService)
 {
     _logger           = logger;
     _mapper           = mapper;
     this._IempService = _IempService;
 }
Ejemplo n.º 6
0
 public EmpController(IEmpService empService)
 {
     _empService = empService;
 }
Ejemplo n.º 7
0
 public EmployeeController(IEmpService employeeService)
 {
     EmployeeService = employeeService;
 }
Ejemplo n.º 8
0
 public HomeControllerTest(IEmpRepository repository, IEmpService service)
 {
     _repository = repository;
     _service    = service;
 }
Ejemplo n.º 9
0
 public EmployeesController(IEmpService service)
 {
     _service = service;
 }
Ejemplo n.º 10
0
 public HomeController(IEmpService service) {
     this._service = service;
 }
Ejemplo n.º 11
0
 public AccountController(IEmpService empService) {
     this._empService = empService;
 }
Ejemplo n.º 12
0
 public UnityController(IEmpService vc)
 {
     this.empSvc = UnityLearnning.UContainer.Instanst.Resolve <IEmpService>();
 }
 public AccountController(IEmpService empService)
 {
     this._empService = empService;
 }