public bool DeleteBlock(int blockId)
 {
     _logger.LogInfo("API HttpDelete api/blocks/{blockId}");
     try
     {
         return(_blockService.DeleteBlockById(blockId));
     }
     catch (System.Exception e)
     {
         _logger.LogError("API HttpDelete api/blocks/{blockId}  " + e.Message);
         throw e;
     }
 }