Ejemplo n.º 1
0
        public async Task <IActionResult> Delete(int ID)
        {
            await _service.DeleteLeadAsync(ID);

            return(Ok());
        }
Ejemplo n.º 2
0
 public async Task <JsonResult> DeleteLead(Guid?leadId)
 => await JsonAsync(_leadService.DeleteLeadAsync(leadId));