public bool Change(Task taskToChange)
        {
            _db.Entry(taskToChange).State = System.Data.EntityState.Modified;
            _db.SaveChanges();

            return true;
        }
        public Task InsertAtEnd(Task taskToInsert) {
            taskToInsert.DateCreated = DateTime.Now;
            _db.Tasks.Add(taskToInsert);
            _db.SaveChanges();

            return taskToInsert;
        }