public WorkerService(IWorkerQuery workerQuery, IWorkerRepository workerRepository, IWorkerValidator workerValidator, IHmacHelper hmacHelper, IWorkerFactory workerFactory)
 {
     _workerQuery      = workerQuery;
     _workerRepository = workerRepository;
     _workerValidator  = workerValidator;
     _hmacHelper       = hmacHelper;
     _workerFactory    = workerFactory;
 }
Esempio n. 2
0
 public WorkersForm(int userID, IWorkerQuery workerQuery)
 {
     InitializeComponent();
     _addTask     = new Dictionary <int, int>();
     _userID      = userID;
     _workerQuery = workerQuery;
     var a = _workerQuery.LoadQuery;
 }