Exemplo n.º 1
0
 public HandoverController(IConfiguration configuration) : base(configuration)
 {
     _configuration  = configuration;
     cOCommonLibrary = new COCommonLibrary(configuration);
     coProviders     = new COProviders(_configuration);
     handoverMapping = new HandoverMapping(_configuration);
 }
Exemplo n.º 2
0
 public AgentApprovalController(IConfiguration configuration) : base(configuration)
 {
     _configuration       = configuration;
     cOCommonLibrary      = new COCommonLibrary(configuration);
     coProviders          = new COProviders(_configuration);
     agentApprovalMapping = new AgentApprovalMapping(_configuration);
 }
Exemplo n.º 3
0
 public ItineraryController(IConfiguration configuration) : base(configuration)
 {
     _configuration     = configuration;
     cOCommonLibrary    = new COCommonLibrary(configuration);
     coProviders        = new COProviders(_configuration);
     objMasterProviders = new MasterProviders(_configuration);
 }
Exemplo n.º 4
0
 public ProposalDocumentController(IConfiguration configuration, IHostingEnvironment hostingEnvironment, IViewRenderService viewRenderService) : base(configuration)
 {
     _configuration      = configuration;
     _hostingEnvironment = hostingEnvironment;
     COCommonLibrary     = new COCommonLibrary(configuration);
     _viewRenderService  = viewRenderService;
 }
Exemplo n.º 5
0
        public IActionResult SubmitCommercial(string QRFID, string Remarks, string EnquiryPipeline, bool IsApproveQuote, string Officer)
        {
            try
            {
                COCommonLibrary          commonLibrary = new COCommonLibrary(_configuration);
                IRequestCookieCollection objCookies    = HttpContext.Request.Cookies;
                var sessionData = string.IsNullOrEmpty(HttpContext.Request.Cookies["UserName"]) ? HttpContext.Session.GetComplexData <List <ProductAttributeDetails> >(SessionName) : null;

                CommonResponse objResponse = commonLibrary.UpdateQuoteDetails(_configuration, token, QRFID, Remarks, EnquiryPipeline, IsApproveQuote, Officer, objCookies, sessionData);

                if (objResponse.ResponseStatus.Status.ToLower() == "success")
                {
                    return(Json(new { responseText = "success" }));
                }
                else
                {
                    return(Content("Error"));
                }
            }
            catch (Exception ex)
            {
                throw;
                return(View());
            }
        }
 /// <summary>
 /// Product Search Constructor
 /// </summary>
 /// <param name="configuration"></param>
 public AccomodationAmendment(IConfiguration configuration) : base(configuration)
 {
     _configuration  = configuration;
     productLibrary  = new ProductLibrary(_configuration);
     positionLibrary = new PositionLibrary(_configuration);
     coCommonLibrary = new COCommonLibrary(_configuration);
 }
Exemplo n.º 7
0
 public AmendmentController(IConfiguration configuration) : base(configuration)
 {
     _configuration  = configuration;
     cOCommonLibrary = new COCommonLibrary(configuration);
     coProviders     = new COProviders(_configuration);
     agentProviders  = new AgentProviders(_configuration);
 }
Exemplo n.º 8
0
 /// <summary>
 /// Product Search Constructor
 /// </summary>
 /// <param name="configuration"></param>
 public ProductPDP(IConfiguration configuration) : base(configuration)
 {
     _configuration   = configuration;
     productLibrary   = new ProductLibrary(_configuration);
     positionLibrary  = new PositionLibrary(_configuration);
     coCommonLibrary  = new COCommonLibrary(_configuration);
     productProviders = new ProductProviders(_configuration);
 }
Exemplo n.º 9
0
 public AccountController(IHostingEnvironment env, IConfiguration configuration) : base(env, configuration)
 {
     _env                = env;
     _configuration      = configuration;
     loginProviders      = new LoginProviders(_configuration);
     cOCommonLibrary     = new COCommonLibrary(configuration);
     agentProviders      = new AgentProviders(_configuration);
     operationsProviders = new OperationsProviders(_configuration);
 }
Exemplo n.º 10
0
 public GuesstimateController(IConfiguration configuration) : base(configuration)
 {
     _configuration      = configuration;
     cOCommonLibrary     = new COCommonLibrary(configuration);
     qrfSummaryProviders = new QRFSummaryProviders(_configuration);
     qrfSummaryMapping   = new QRFSummaryMapping(_configuration);
     coProviders         = new COProviders(_configuration);
     masterProviders     = new MasterProviders(_configuration);
 }
Exemplo n.º 11
0
 /// <summary>
 /// Hotels Search Constructor
 /// </summary>
 /// <param name="configuration"></param>
 public BookingController(IConfiguration configuration) : base(configuration)
 {
     _configuration            = configuration;
     coCommonLibrary           = new COCommonLibrary(_configuration);
     bookingProviders          = new BookingProviders(_configuration);
     objSalesProvider          = new SalesProviders(_configuration);
     hotelsProviders           = new HotelsProviders(_configuration);
     communicationTrailMapping = new CommunicationTrailMapping(configuration);
     supplierProviders         = new SupplierProviders(_configuration);
 }
Exemplo n.º 12
0
 public ProposalController(IConfiguration configuration) : base(configuration)
 {
     _configuration      = configuration;
     cOCommonLibrary     = new COCommonLibrary(configuration);
     coProviders         = new COProviders(_configuration);
     positionProviders   = new PositionProviders(_configuration);
     itineraryMapper     = new ItineraryMapper(_configuration);
     loginProviders      = new LoginProviders(_configuration);
     agentProviders      = new AgentProviders(_configuration);
     objSalesProvider    = new SalesProviders(_configuration);
     operationsProviders = new OperationsProviders(_configuration);
 }
Exemplo n.º 13
0
 public VoyagerController(IConfiguration configuration)
 {
     _configuration            = configuration;
     communicationTrailMapping = new CommunicationTrailMapping(configuration);
     cOCommonLibrary           = new COCommonLibrary(configuration);
 }
Exemplo n.º 14
0
 public CommunicationTrailMapping(IConfiguration configuration)
 {
     _configuration              = configuration;
     cOCommonLibrary             = new COCommonLibrary(configuration);
     communictaionTrailProviders = new CommunicationTrailProviders(_configuration);
 }
Exemplo n.º 15
0
 public HandoverMapping(IConfiguration configuration)
 {
     _configuration    = configuration;
     cOCommonLibrary   = new COCommonLibrary(configuration);
     handoverProviders = new HandoverProviders(_configuration);
 }
Exemplo n.º 16
0
 public AgentApprovalMapping(IConfiguration configuration)
 {
     _configuration         = configuration;
     cOCommonLibrary        = new COCommonLibrary(configuration);
     agentApprovalProviders = new AgentApprovalProviders(_configuration);
 }
Exemplo n.º 17
0
 public CostsheetController(IConfiguration configuration) : base(configuration)
 {
     _configuration  = configuration;
     cOCommonLibrary = new COCommonLibrary(configuration);
     coProviders     = new COProviders(_configuration);
 }