public async Task <ActionResult <int> > Delete(int?LeadId)
 {
     try
     {
         return(await _dataAccessProvider.DeleteLeadRecordAsync(LeadId));
     }
     catch (Exception ex)
     {
         _logger.LogError($"Something went wrong: {ex}");
         return(CreatedAtAction(nameof(Delete), ex));
     }
 }