Esempio n. 1
0
        public void Delete(int id)
        {
            Task task = db.Tasks.Find(id);

            if (task != null)
            {
                db.CallSpDeleteTask(id);
            }
        }
Esempio n. 2
0
        public void Delete(int id)
        {
            UserTask userTask = db.UserTasks.Find(id);

            if (userTask != null)
            {
                db.CallSpDeleteTask(id);
            }
        }
Esempio n. 3
0
 public int DeleteTask(int taskId)
 {
     return(db.CallSpDeleteTask(taskId));
 }