Exemplo n.º 1
0
        /// <summary>
        /// Get the opportunities by ClientID, Opportunity Name, Company Name, Owner Last Name and Opportunity Status
        /// </summary>
        /// <param name="clientID">The ClientID</param>
        /// <param name="opportunityName">The opportunity name</param>
        /// <param name="companyName">The company name</param>
        /// <param name="owner">The owner's last name</param>
        /// <param name="opportunityStatus">The opportunity status</param>
        /// <returns></returns>
        public Response GetOpportunities(int clientID, string oppId, string opportunityName, string companyName, string owner, string opportunityStatus)
        {
            var dataService = new UpdateCRMDataService();

            return(dataService.GetOpportunities(clientID, oppId, opportunityName, companyName, owner, opportunityStatus));
        }