public static List <GoalOfMonth> GetGoalsNotSetInDay(int idDay)
        {
            var resGoalOfDays = GoalOfDayDao.GetGoalOfDays(0, idDay);
            var res           = SelfJournalDbContext.Instance.GoalOfMonths.Where(x => !resGoalOfDays.Select(y => y.IDGoalOfMonth).Contains(x.ID));

            return(res.ToList());
        }
        public static void Delete(int id)
        {
            var resGoalOfDays = GoalOfDayDao.GetGoalOfDaysWithIDMonth(id);

            resGoalOfDays.ForEach(x => GoalOfDayDao.Delete(x.ID));
            DatabaseDao.Delete(ConstantValue.GoalOfMonth, new List <string> {
                "ID"
            }, new List <object> {
                id
            });
        }