getWeek method in service class