public RiskManagementController(IRiskAssessmentRepository riskAssessmentRepository, ITableDataRepository <Catergory> categoryRepository, IContactPersonRepository contactPersonRepositor, IDocumentRepository documentRepository) { _riskAssessmentRepository = riskAssessmentRepository; _categoryRepository = categoryRepository; _contactPersonRepository = contactPersonRepositor; //_environment = environment; _documentRepository = documentRepository; }
public SearchController(IHotelRepository hotelRepo, IApplicationRepository sysRepo, IOwnerRepository ownerRepo, IContactPersonRepository contactRepo, IBranchRepository branchRepo, IStatusRepository statusRepo) { this.hotelRepo = hotelRepo; this.sysRepo = sysRepo; this.ownerRepo = ownerRepo; this.contactRepo = contactRepo; this.branchRepo = branchRepo; this.statusRepo = statusRepo; }
private static ContactPersonController GetContactController(IContactPersonRepository emprepository) { ContactPersonController contactcontroller = new ContactPersonController(emprepository); contactcontroller.ControllerContext = new ControllerContext() { Controller = contactcontroller, }; return(contactcontroller); }
public SettingsController(IBranchRepository branchRepo, IContactPersonRepository contactRepo, IOwnerRepository ownerRepo, IApplicationRepository systRepo, IHotelRepository hotelRepo, IFirmRepository firmRepo, IStatusRepository statusRepo) { this.branchRepo = branchRepo; this.hotelRepo = hotelRepo; this.contactRepo = contactRepo; this.ownerRepo = ownerRepo; this.firmRepo = firmRepo; this.sysRepo = systRepo; this.statusRepo = statusRepo; type = new List <Models.Domain.ApplicationType>(); MakeList("Type"); }
public TenantUnitOfWork(TenantContext tenantContext, ITenantRepository tenantRepository, IDocumentRepository documentRepository, IContactPersonRepository contactPersonRepository, IPrintingRepository printingRepository, IPaymentRepository paymentRepository) : base(tenantContext) { TenantRepository = tenantRepository; DocumentRepository = documentRepository; ContactPersonRepository = contactPersonRepository; PrintingRepository = printingRepository; PaymentRepository = paymentRepository; }
public StudentContactService(IStudentRepository studentRepository, IContactPersonRepository contactRepository) { this.studentRepository = studentRepository; this.contactRepository = contactRepository; }
public ContactPersonController(IContactPersonRepository repository) { this.contactPersonRepository = repository; }