CompareSelectedFile() private method

private CompareSelectedFile ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
 private async void OnCompareCommand(object sender, EventArgs e)
 {
     try
     {
         await sccService.CompareSelectedFile();
     }
     catch (Exception)
     {
     }
 }
 private void OnCompareCommand(object sender, EventArgs e)
 {
     sccService.CompareSelectedFile();
 }