public List <ApprovalTemplate> getApprovalTeamplates(CommonWhatifRequestQueryModel model)
        {
            List <ApprovalTemplate> Approvaltemplates = new List <ApprovalTemplate>();

            Approvaltemplates.Add(new ApprovalTemplate
            {
                ID          = "1",
                Name        = "Template ION RAM",
                Description = "Template Desc ION RAM",
                Status      = "0",
                Application = "All",
                Operation   = "Infor Request - Role Assignment Management"
            });
            Approvaltemplates.Add(new ApprovalTemplate
            {
                ID          = "1",
                Name        = "Template ION UC",
                Description = "Template Desc User Creation",
                Status      = "0",
                Application = "All",
                Operation   = "Infor Request - User Creation Management"
            });

            return(Approvaltemplates);
        }
 public List <ConnectionName> getConnectionForWhatIFRequest(CommonWhatifRequestQueryModel model)
 {
     try
     {
         WhatIFRequestCommonDBOperation WhatIFReqObj = new WhatIFRequestCommonDBOperation();
         return(WhatIFReqObj.getConnectionName(model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
Exemple #3
0
        public List <ConnectionName> getConnectionName(CommonWhatifRequestQueryModel model)
        {
            List <ConnectionName> ConnectioList = new List <ConnectionName>();

            ConnectioList.Add(
                new ConnectionName
            {
                ID   = "1",
                Name = "ION Connection"
            });
            return(ConnectioList);
        }
 public List <ApprovalTemplate> getApprovalTeamplates(CommonWhatifRequestQueryModel model)
 {
     try
     {
         WorkFlowApprovalDBOperations Approvaltemplate = new WorkFlowApprovalDBOperations();
         return(Approvaltemplate.getApprovalTeamplates(model));
     }
     catch (Exception ex)
     {
         throw ex;
     }
 }
        public IEnumerable <ConnectionName> getConnectionForWhatIFRequest([FromBody] CommonWhatifRequestQueryModel Queryparam)
        {
            IWhatIFRequestCommon Obj = new WhatIFRequestCommon();

            return(Obj.getConnectionForWhatIFRequest(Queryparam));
        }
        public IEnumerable <ApprovalTemplate> getApprovalTeamplates([FromBody] CommonWhatifRequestQueryModel Queryparam)
        {
            IInforWorkFlow Obj = new InforWorkFlow();

            return(Obj.getApprovalTeamplates(Queryparam));
        }