Ejemplo n.º 1
0
    public void DeleteTask(int ScheduleID, string AssemblyFileName)
    {
        // Schedule schedule = SchedulerController.GetSchedule(ScheduleID);

        if (!string.IsNullOrEmpty(AssemblyFileName))
        {
            string filepath = Path.Combine(HostingEnvironment.ApplicationPhysicalPath, "bin\\" + AssemblyFileName);
            SchedulerController.DeleteTask(ScheduleID, filepath);
        }
    }