Creating events on calendar and saving them in DB