public bool LeadUpdate(LeadExact value) { var _value = Mapper.Map <LeadRoot>(value); return(Execute(_value, (c, v) => c.LeadUpdate(_value))); }
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))); }
public bool Register(LeadExact value) { return(_service.LeadRegister(value)); }
public IActionResult Post([FromBody] LeadExact value) { _logger.LogDebug("Lead Register Call"); return(Execute(value, Method.Post, (s, v) => s.Register(v))); }
public bool Update(LeadExact value) { return(_service.LeadUpdate(value)); }