예제 #1
0
 public AdminController(IDonation donation, ILoanDonor loanDonor, IRecurringDonation recurringDonation,
                        ILoan loan, IContact contact, IUserProfile userProfile, ICause cause, IReview review, IVolunteer volunteer, IConfiguration config, IHttpContextAccessor accessor)
 {
     _cause             = cause;
     _recurringdonation = recurringDonation;
     _loan        = loan;
     _loandonor   = loanDonor;
     _volunteer   = volunteer;
     _donation    = donation;
     _contact     = contact;
     _review      = review;
     _userprofile = userProfile;
     _config      = config;
     _accessor    = accessor;
 }
예제 #2
0
 public LoanDonorController(ILoanDonor loandonor, IConfiguration config, IHttpContextAccessor accessor)
 {
     _loandonor = loandonor;
     _config    = config;
     _accessor  = accessor;
 }