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