DeleteTask() public method

public DeleteTask ( string id ) : void
id string
return void
 private void DeleteButtonOnClick(object sender, EventArgs e)
 {
     CognitoSyncUtils utils = new CognitoSyncUtils();
     todoId = Intent.GetStringExtra("todoItem");
     utils.DeleteTask(todoId);
     Finish();
 }
Exemplo n.º 2
0
 private void DeleteButtonOnClick(object sender, EventArgs e)
 {
     CognitoSyncUtils utils = new CognitoSyncUtils();
     utils.DeleteTask(todoId);
 }
        public void DeleteTask()
        {
            if (currentTask != null)
            {
				context.Fetch();
				NavigationController.PopViewController(true);
                CognitoSyncUtils utils = new CognitoSyncUtils();
				utils.DeleteTask(taskDialog.Id);
				Refresh();
				currentTask = null;
            }
        }
Exemplo n.º 4
0
 public void DeleteTask()
 {
     if (currentTask != null)
     {
         context.Fetch();
         CognitoSyncUtils utils = new CognitoSyncUtils();
         utils.DeleteTask(taskDialog.Id);
     }
 }