예제 #1
0
 public BidController(SignInManager <ApplicationUser> signInManager, IBiddingRepository bidRepo, ITenderRepository tenderRepo, UserManager <ApplicationUser> userManager)
 {
     _bidRepo       = bidRepo;
     _signInManager = signInManager;
     _userManager   = userManager;
     _tenderRepo    = tenderRepo;
 }
예제 #2
0
 public TenderService(ITenderRepository tenderRepository, ITenderMedicationRepository tenderMedicationRepository,
                      IMedicationGateway medicationGateway)
 {
     _tenderRepository           = tenderRepository;
     _tenderMedicationRepository = tenderMedicationRepository;
     _medicationGateway          = medicationGateway;
 }
 public TenderController(ITenderRepository itenderRepo, IMSSQLFunctionsRepository isqlFunctionRepo, ISystemMessageEventsRepository_OTP imessageEventsRepo, IEmployeeOTPRepository empRepo)
 {
     tenderRepo        = itenderRepo;
     sqlFunctionRepo   = isqlFunctionRepo;
     messageEventsRepo = imessageEventsRepo;
     employeeRepo      = empRepo;
 }
예제 #4
0
 public HomeController(ITenderRepository tenderRepo, IBiddingRepository bidRepo, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager, ILogger <HomeController> logger)
 {
     _logger        = logger;
     _tenderRepo    = tenderRepo;
     _bidRepo       = bidRepo;
     _signInManager = signInManager;
     _userManager   = userManager;
 }
예제 #5
0
 public TenderModule(ITenderRepository tenderRepository, IEmployeeRepository employeeRepository, IRequirementRepository requirementRepository, IWorkhourRepository workhourRepository, IGroupRepository groupRepository)
 {
     _tenderRepository      = tenderRepository;
     _employeeRepository    = employeeRepository;
     _requirementRepository = requirementRepository;
     _workhourRepository    = workhourRepository;
     _groupRepository       = groupRepository;
 }
 public TenderController(ITenderRepository repository)
 {
     _repository = repository;
 }
예제 #7
0
 public TenderService(IMapper mapper, ITenderRepository repository)
 {
     _mapper     = mapper;
     _repository = repository;
 }
 public TenderService(ITenderRepository tenderRepository)
 {
     _tenderRepository = tenderRepository;
 }
예제 #9
0
        public TenderFixture()
        {
            IDbConnection dbConnection = new SqlConnection("Data Source=localhost; Persist Security Info=True; Integrated Security=SSPI; Initial Catalog=NWY-TEST");

            TenderRepository = new TenderRepository(dbConnection, null);
        }
예제 #10
0
 public TenderRepositoryTest(TenderFixture fixture)
 {
     _repository = fixture.TenderRepository;
 }
예제 #11
0
 public TendersController(ITenderRepository tenderRepository, ILogger <TendersController> log)
 {
     this.tenderRepository = tenderRepository;
     this.log = log;
 }
 public RouteRepository(GrafolitOTPEntities _context, ITenderRepository _tenderRepo)
 {
     context    = _context;
     tenderRepo = _tenderRepo;
 }
예제 #13
0
 public TenderService(ITenderRepository tenderRepository)
 {
     _tenderRepository = tenderRepository == null ? throw new ArgumentNullException(nameof(tenderRepository) + "is set to null") : tenderRepository;
 }
예제 #14
0
 public TendersController(ITenderRepository tenderRepo, SignInManager <ApplicationUser> signInManager, UserManager <ApplicationUser> userManager)
 {
     _tenderRepo    = tenderRepo;
     _signInManager = signInManager;
     _userManager   = userManager;
 }
예제 #15
0
 public TenderService(ITenderRepository tenderRepository, IUnitOfWork unitOfWork)
 {
     _tenderRepository = tenderRepository;
     _unitOfWork       = unitOfWork;
 }