private List <EBlockedDay> GetBlockedDayForCalendar(long intUserShellID, string strStartDate, string strEndDate, string strRoleType)
    {
        var otherDal = new OtherDAL();

        switch (strRoleType)
        {
        case "Franchisor":
            return(otherDal.GetBlockedDayForCalendar(intUserShellID, strStartDate, strEndDate, 1));

        case "Franchisee":
            return(otherDal.GetBlockedDayForCalendar(intUserShellID, strStartDate, strEndDate, 0));

        default:
            return(otherDal.GetBlockedDayForCalendar(intUserShellID, strStartDate, strEndDate, 0));
        }
    }