Ejemplo n.º 1
0
 public OperatorController(ILogger <OperatorController> logger, ContextEntity context)
 {
     _logger           = logger;
     this._context     = new OperatorRepositoryEntity(context);
     this._userSave    = new OperatorSaveService(_context);
     this._userList    = new OperatorListService(_context);
     this._clientLogin = new OperatorLoginService(_context);
     this._userDelete  = new OperatorDeleteService(_context);
 }
 public void Setup()
 {
     this._repository = new FakeOperatorRepository();
     this._service    = new OperatorSaveService(_repository);
 }