public override int Run(string[] remainingArguments)
        {
            if (EntityType.ToLower() == "task")
            {
                SparkTask taskToDelete = new SparkTask();
                var actualId = "SparkTasks/" + IdToDelete;
                taskToDelete.Id = actualId;

                DeleteItemCmd deleteItemCmd = new DeleteItemCmd();
                deleteItemCmd.ItemToWork = taskToDelete;

                var result = deleteItemCmd.DeleteItem();

                Console.WriteLine(result);
                return 0;
            }

            if(EntityType.ToLower() == "reminder")
            {
                SparkTask reminderToDelete = new SparkTask();
                var actualId = "Reminders/" + IdToDelete;
                reminderToDelete.Id = actualId;

                DeleteItemCmd deleteItemCmd = new DeleteItemCmd();
                deleteItemCmd.ItemToWork = reminderToDelete;

                var result = deleteItemCmd.DeleteItem();

                Console.WriteLine(result);
                return 0;

            }
            else { Console.WriteLine("The type of entity should be a task or reminder"); }
            return 0;
        }
        public override int Run(string[] remainingArguments)
        {
            if (EntityType.ToLower() == "task")
            {
                SparkTask taskToDelete = new SparkTask();
                var       actualId     = "SparkTasks/" + IdToDelete;
                taskToDelete.Id = actualId;

                DeleteItemCmd deleteItemCmd = new DeleteItemCmd();
                deleteItemCmd.ItemToWork = taskToDelete;

                var result = deleteItemCmd.DeleteItem();

                Console.WriteLine(result);
                return(0);
            }

            if (EntityType.ToLower() == "reminder")
            {
                SparkTask reminderToDelete = new SparkTask();
                var       actualId         = "Reminders/" + IdToDelete;
                reminderToDelete.Id = actualId;

                DeleteItemCmd deleteItemCmd = new DeleteItemCmd();
                deleteItemCmd.ItemToWork = reminderToDelete;

                var result = deleteItemCmd.DeleteItem();

                Console.WriteLine(result);
                return(0);
            }
            else
            {
                Console.WriteLine("The type of entity should be a task or reminder");
            }
            return(0);
        }