Ejemplo n.º 1
0
 public EventManagementController(UserManager <ApplicationUser> userManager,
                                  IInstituteUserMappingHelperService instituteUserMappingHelperService,
                                  IEventManagementRepository eventManagementRepository)
     : base(instituteUserMappingHelperService)
 {
     _userManager = userManager;
     _eventManagementRepository = eventManagementRepository;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitOfWork"/> class.
 /// </summary>
 /// <param name="contextParam">The context parameter.</param>
 /// <param name="organizationsListRepositoryParam">The organizations list repository parameter.</param>
 public UnitOfWork(FundTrackContext contextParam,
                   IOrganizationsForFilteringRepository organizationsListRepositoryParam,
                   IUserResporitory userListRepositoryParam,
                   IEventManagementRepository eventRepository,
                   IOrganizationRepository organizationRepository,
                   IMembershipRepository membershipRepositoryParam,
                   IRepository <Address> addressRepository,
                   IRepository <OrgAddress> orgAddressRepository,
                   IRepository <BankAccount> bankAccountRepository,
                   IRequestedItemRepository requestedItemRepository,
                   IRepository <Role> roleRepository,
                   IRepository <EventImage> eventImageRepositoryParam,
                   IRepository <OfferedItem> offeredItemRepository,
                   IStatusRepository statusRepository,
                   IUserResponseRepository userResponseRepository,
                   IGoodsCategoryRepository goodsCategoryRepository,
                   IRequestedItemImageRepository requestedItemImageRepository,
                   IGoodsTypeRepository goodsTypeRepository,
                   IOfferImagesRepository offeredItemImageRepository,
                   IBankImportDetailRepository bankImportDetailRepository,
                   IOrganizationAccountRepository organizationAccountRepository,
                   IRepository <Currency> currencyRepository,
                   ITargetRepository targetRepository,
                   IDonationRepository donationRepository,
                   IFinOpRepository finOpRepository,
                   IPhoneRepository phoneRepository,
                   IRepository <FinOpImage> finOpImagesRepository
                   )
 {
     this._context = contextParam;
     this._organizationsListRepository = organizationsListRepositoryParam;
     this._usersListRepository         = userListRepositoryParam;
     this._membershipRepository        = membershipRepositoryParam;
     _eventRepository               = eventRepository;
     _organizationRepository        = organizationRepository;
     _addressRepository             = addressRepository;
     _orgAddressRepository          = orgAddressRepository;
     _bankAccountRepository         = bankAccountRepository;
     _roleRepository                = roleRepository;
     _eventImageRepository          = eventImageRepositoryParam;
     _offeredItemRepository         = offeredItemRepository;
     _goodsCategoryRepository       = goodsCategoryRepository;
     _userResponseRepository        = userResponseRepository;
     _requestedItemRepository       = requestedItemRepository;
     _statusRepository              = statusRepository;
     _requestedItemImageRepository  = requestedItemImageRepository;
     _goodsTypeRepository           = goodsTypeRepository;
     _offeredItemImageRepository    = offeredItemImageRepository;
     _bankImportDetailRepository    = bankImportDetailRepository;
     _organizationAccountRepository = organizationAccountRepository;
     _currencyRepository            = currencyRepository;
     _targetRepository              = targetRepository;
     _donationRepository            = donationRepository;
     _finOpRepository               = finOpRepository;
     this._phoneRepository          = phoneRepository;
     _finOpImagesRepository         = finOpImagesRepository;
 }
Ejemplo n.º 3
0
 public TemplateManagementRepository(IMSDbContext iMSDbContext,
                                     IOptions <TemplateManagementTypes> templateManagementTypes,
                                     IInstituteUserMappingHelperService instituteUserMappingHelperService,
                                     IEmailService emailService, ISmsService smsService,
                                     IEventManagementRepository eventManagementRepository)
 {
     _iMSDbContext                      = iMSDbContext;
     _templateManagementTypes           = templateManagementTypes.Value;
     _instituteUserMappingHelperService = instituteUserMappingHelperService;
     _emailService                      = emailService;
     _smsService = smsService;
     _eventManagementRepository = eventManagementRepository;
 }
 public CircularNoticeManagementRepository(IMSDbContext imsDbContext,
                                           IOptions <SystemRoles> systemRoles,
                                           IOptions <EmailConfiguration> emailConfiguration,
                                           ISmsService smsService,
                                           IEmailService emailService,
                                           INotificationManagementRepository notificationManagementRepository,
                                           ITemplateManagementRepository templateManagementRepository,
                                           IOptions <TemplateManagementTypes> templateManagementTypes,
                                           IEventManagementRepository eventManagementRepository)
 {
     _imsDbContext       = imsDbContext;
     _systemRoles        = systemRoles.Value;
     _emailConfiguration = emailConfiguration.Value;
     _smsService         = smsService;
     _emailService       = emailService;
     _notificationManagementRepository = notificationManagementRepository;
     _templateManagementRepository     = templateManagementRepository;
     _templateManagementTypes          = templateManagementTypes.Value;
     _eventManagementRepository        = eventManagementRepository;
 }
Ejemplo n.º 5
0
 public EventManagementService(IEventManagementRepository repository)
 {
     this.repository = repository;
 }