remove dup code in calendarBusinessLayer