Ejemplo n.º 1
0
        public async Task <ActionResult> Update(string leadId)
        {
            var model = new SalesForceModels.LeadModel();

            try
            {
                var client = await _salesForceService.CreateForceClient();

                model = await _dbConnector.GetLeadById(client, leadId);
            }
            catch (Exception ex)
            {
                throw new Exception(ex.Message);
            }
            return(View(model));
        }