public RatesController(IRateRepository repo, IMinearRepository minr, IConstRepository @const, IMrrRepository mrr, IBtcRepository btc, ISpRepository sp)
 {
     repository       = repo;
     minearRepository = minr;
     constRepository  = @const;
     mrrrepository    = mrr;
     btcrepository    = btc;
     sprepository     = sp;
 }
 public ProfileController(IUserRepository repo,
                          IRateRepository rate,
                          IMrrRepository mrr,
                          IBtcRepository btc,
                          ISpRepository sp,
                          IMinearRepository minear,
                          IConstRepository @const,
                          IPayoutRepository payout)
 {
     userrepository   = repo;
     raterepository   = rate;
     mrrrepository    = mrr;
     btcrepository    = btc;
     sprepository     = sp;
     minearRepository = minear;
     constRepository  = @const;
     payoutRepository = payout;
 }
Exemple #3
0
 public SpService(ISpRepository spRepository, IUnitofWork unitOfWork)
 {
     _spRepository = spRepository;
     _unitOfWork   = unitOfWork;
 }