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); }
/// <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); }