private bool FindDuplicateApp(string name) { List <AppData> api = _api.GetApps(); return(api.Any(app => app.Name == name)); }