public EmployeesController([NotNull] VisitorContext employeeRepository, [NotNull] ISecurityHelper securityHelper) { _visitorContext = employeeRepository; _securityHelper = securityHelper; }
/// <summary> /// Constructor /// </summary> /// <param name="visitorRepository">IVisitorRepository dependency</param> public VisitorsController([NotNull] VisitorContext visitorRepository) { _context = visitorRepository; }