Ejemplo n.º 1
0
        public vmIssueMaster GetIssueMasterByIssueId(int?IssueId, int CompanyID)
        {
            vmIssueMaster Issuelist = null;

            try
            {
                Issuelist = objIssueService.GetIssueMasterByIssueId(IssueId, CompanyID);
            }
            catch (Exception e)
            {
                e.ToString();
            }
            return(Issuelist);
        }
Ejemplo n.º 2
0
        public vmIssueMaster GetIssueMasterByIssueId(int?IssueId, int CompanyID)
        {
            GenericFactory_GF_Issue = new vmIssueMaster_GF();
            vmIssueMaster lstIssue = null;
            string        spQuery  = string.Empty;

            try
            {
                Hashtable ht = new Hashtable();
                ht.Add("IssueId", IssueId);
                ht.Add("CompanyID", CompanyID);
                spQuery  = "[dbo].[Get_InvIssueInfoByIssueId]";
                lstIssue = GenericFactory_GF_Issue.ExecuteCommandSingle(spQuery, ht);
            }
            catch (Exception e)
            {
                e.ToString();
            }
            return(lstIssue);
        }