public InquiryServiceFacade(IInquiryService inquiryService, IMapper <InquirySubjectWithJobPosition, InquirySubjectDTO> inquiySubjectMapper, IJobIndexRepository jobIndexRep, IJobPositionRepository jobPositionRepository, IEmployeeRepository employeeRepository, IInquiryJobIndexPointRepository inquiryJobIndexPointRepository) { this.inquiryService = inquiryService; this.inquiySubjectMapper = inquiySubjectMapper; this.jobIndexRep = jobIndexRep; this.jobPositionRepository = jobPositionRepository; this.employeeRepository = employeeRepository; this.inquiryJobIndexPointRepository = inquiryJobIndexPointRepository; }
public MainInquiries(IViewManager viewManager, IInquiryService inquiryService) { InitializeComponent(); MainInquiriesViewModel vm = (MainInquiriesViewModel)this.DataContext; // this creates an instance of the ViewModel if (vm.CloseAction == null) { vm.CloseAction = new Action(() => this.Close()); } vm.ViewManager = viewManager; vm.InquiryService = inquiryService; }
public InquireForm(IViewManager viewManager, IInquiryService inquiryService, IContragentService contragentService, IUserService userService) { InitializeComponent(); OffersFormViewModel vm = (OffersFormViewModel)this.DataContext; // this creates an instance of the ViewModel if (vm.CloseAction == null) { vm.CloseAction = new Action(() => this.Close()); } vm.ViewManager = viewManager; vm.InquiryService = inquiryService; vm.ContragentService = contragentService; vm.UserService = userService; }
public ProjectOverviewView(IViewManager viewManager, IInquiryService inquiryService, IContragentService contragentService, IUserService userService, IOfferService offerService, INoteService noteService, IProjectService projectService) { InitializeComponent(); PFOverviewViewModel vm = (PFOverviewViewModel)this.DataContext; // this creates an instance of the ViewModel if (vm.HideNotesTab == null) { vm.HideNotesTab = new Action(() => this.NotesGrid.Visibility = Visibility.Hidden); } if (vm.HideNotesLabel == null) { vm.HideNotesLabel = new Action(() => this.NotesLabel.Visibility = Visibility.Hidden); } if (vm.HideIncomeBox == null) { vm.HideIncomeBox = new Action(() => this.IncomeBox.Visibility = Visibility.Hidden); } if (vm.HideExpensesBox == null) { vm.HideExpensesBox = new Action(() => this.ExpensesBox.Visibility = Visibility.Hidden); } if (vm.HideProfitBox == null) { vm.HideProfitBox = new Action(() => this.ProfitBox.Visibility = Visibility.Hidden); } if (vm.HideIncomeLabel == null) { vm.HideIncomeLabel = new Action(() => this.IncomeLabel.Visibility = Visibility.Hidden); } if (vm.HideExpensesLabel == null) { vm.HideExpensesLabel = new Action(() => this.ExpensesLabel.Visibility = Visibility.Hidden); } if (vm.HideProfitLabel == null) { vm.HideProfitLabel = new Action(() => this.ProfitLabel.Visibility = Visibility.Hidden); } vm.ViewManager = viewManager; vm.InquiryService = inquiryService; vm.ContragentService = contragentService; vm.UserService = userService; vm.OfferService = offerService; vm.NoteService = noteService; vm.ProjectService = projectService; }
public InquiryController(IInquiryService service) { _service = service; }
public OfferingService(IOfferingRepository offeringRepository, IInquiryService inquiryService, IUserService userService) { _offeringRepository = offeringRepository; _inquiryService = inquiryService; _userService = userService; }
public InquiryController(IInquiryService inquiryService, IDocumentService documentService, IEmployeeService employeeService) { this.inquiryService = inquiryService; this.documentService = documentService; this.employeeService = employeeService; }
public InquiryController(IInquiryService service, ILogger <InquiryController> logger) { _logger = logger; _inquiryService = service; }
public HomeController(IInquiryService service) { inquiryService = service; }
public InquiryController(IInquiryService inquiryService) { _inquiryService = inquiryService; }
public ContactUsController(IInquiryService inquiryService) { _inquiryService = inquiryService; }