Exemplo n.º 1
0
        public async Task <GetCompany_RS> GetLatestSQLReferenceNumber(GetCompany_RQ request, string ticket)
        {
            GetCompany_RS response = new GetCompany_RS();

            response = await serviceProxy.PostData(_configuration.GetValue <string>("BRIDGEServiceCompany:GetLatestSQLReferenceNumber"), request, typeof(GetCompany_RS), ticket, "Bridge");

            return(response);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Generate New Booking Nmuber
        /// </summary>
        /// <param name="objGetCompany_RQ">Takes Type</param>
        /// <returns></returns>
        public async Task <GetCompany_RS> GetLatestSQLReferenceNumber(GetCompany_RQ objGetCompany_RQ)
        {
            GetCompany_RS objGetCompany_RS = new GetCompany_RS();

            objGetCompany_RS = await serviceProxy.PostData(_configuration.GetValue <string>("MPUSH:push:GetLatestSQLReferenceNumber"), objGetCompany_RQ, typeof(GetCompany_RS), "MongoPushUrl");

            return(objGetCompany_RS);
        }