Exemple #1
0
        public bool LeadUpdate(LeadExact value)
        {
            var _value = Mapper.Map <LeadRoot>(value);

            return(Execute(_value, (c, v) => c.LeadUpdate(_value)));
        }
Exemple #2
0
 public IActionResult Put(string id, [FromBody] LeadExact value)
 {
     _logger.LogDebug("Lead Update Call");
     value.Lead.Id = id;
     return(Execute(value, Method.Put, (s, v) => s.Update(v)));
 }
Exemple #3
0
 public bool Register(LeadExact value)
 {
     return(_service.LeadRegister(value));
 }
Exemple #4
0
 public IActionResult Post([FromBody] LeadExact value)
 {
     _logger.LogDebug("Lead Register Call");
     return(Execute(value, Method.Post, (s, v) => s.Register(v)));
 }
Exemple #5
0
 public bool Update(LeadExact value)
 {
     return(_service.LeadUpdate(value));
 }