//public static List<Expenditure> GetByBuildingId(int buildingId)
        //{
        //    return ExpenditureConverter.ListToDTO(ExpenditureDAL.GetByBuildingId(buildingId));
        //}

        public static UserNotification GetById(int id)
        {
            return(UserNotificationConverter.ToDTO(UserNotificationDAL.GetById(id)));
        }
        public static void GetByUsetIdAndNotificationId(NotificationForUser n)
        {
            user_notification_tbl u = UserNotificationDAL.GetByUsetIdAndNotificationId(n);

            UserNotificationDAL.RemoveUserNotification(u);
        }
        //public static Notification GetByUsetId(int id)
        //{
        //    return Converters.NotificationConverter.ToDTO(NotificationDAL.GetById(id));
        //}
        public static List <Notification> GetByUsetId(int userId)
        {
            List <UserNotification> notifications = UserNotificationConverter.ListToDTO(UserNotificationDAL.GetByUserId(userId));

            return(NotificationDAL.GetByUserId(notifications));
        }