public TicketsController(ITicketRepository ticketRepository, IDBRepository <Client> clientRepository, IInventoryService inventoryService, IHRService hrService)
 {
     _ticketRepository = ticketRepository;
     _clientRepository = clientRepository;
     _inventoryService = inventoryService;
     _hrService        = hrService;
 }
Beispiel #2
0
 public HomeController(ILogger <HomeController> logger, IExhibitionService exhibitionService,
                       ICurrentExhibitionService currentExhibitionService, IHRService hRService)
 {
     _logger = logger;
     this.exhibitionService        = exhibitionService;
     this.currentExhibitionService = currentExhibitionService;
     this.hRService = hRService;
 }
Beispiel #3
0
 public ArtistsController(ILogger <HomeController> logger, IArtistService artistsService,
                          IPictureService pictureService, IHRService hRService)
 {
     _logger             = logger;
     this.artistsService = artistsService;
     this.pictureService = pictureService;
     this.hRService      = hRService;
 }
Beispiel #4
0
 public ExploreController(ILogger <ExploreController> logger,
                          ICurrentExhibitionService currentExhibitionService, IExhibitionService exhibitionService,
                          IPictureService pictureService, IArtistService artistService, IHRService hRService)
 {
     _logger = logger;
     this.currentExhibitionService = currentExhibitionService;
     this.exhibitionService        = exhibitionService;
     this.pictureService           = pictureService;
     this.artistService            = artistService;
     this.hRService = hRService;
 }
Beispiel #5
0
        public virtual void TestSetup()
        {
            Service = new HRService();
            FakeEmployeeSalary = new EmployeeSalary()
            {
                EmailAddress = "*****@*****.**",
                EmployeeId = 1,
                FirstName = "asd",
                LastName = "asd",
                SupervisorId = null,
                Salary = 2000
            };

            FakeEmployee = new Employee()
            {
                EmailAddress = "*****@*****.**",
                EmployeeId = 1,
                FirstName = "asd",
                LastName = "asd",
                SupervisorId = null
            };

            FakeEmployeeList = new List<EmployeeSalary>
                                   {
                                       FakeEmployeeSalary,
                                       new EmployeeSalary()
                                           {
                                               EmailAddress = "*****@*****.**",
                                               EmployeeId = 2,
                                               FirstName = "asd1",
                                               LastName = "asd1",
                                               SupervisorId = 1,
                                               Salary = 3000
                                           }
                                   };

            FakeSalary = new Salary() { EmployeeId = 1, SalaryValue = 2000 };
            FakeSalary = new Salary() { EmployeeId = 2, SalaryValue = 3000 };
        }
Beispiel #6
0
 public TestHelperClass(IHRService client)
 {
     this._client = client;
 }
Beispiel #7
0
 public ClientsController(IDBRepository <Client> clientRepository, IHRService hrService)
 {
     _clientRepository = clientRepository;
     _hrService        = hrService;
 }
 public HRController(IHRService service)
 {
     _service = service;
 }
 public EmployeeController(IHRService hrService, IEmployeeService employeeService)
 {
     _hrService       = hrService;
     _employeeService = employeeService;
 }
 public LeaveController(IPMService pmService, IEmployeeService employeeService, IHRService hrService)
 {
     _pmService       = pmService;
     _employeeService = employeeService;
     _hrService       = hrService;
 }
Beispiel #11
0
 public EmployeesAdminController(GalleryDbContext context, IHRService hRService)
 {
     _context       = context;
     this.hRService = hRService;
 }