private int SetPendingListThrough() { MasterLCBLL masterBLL = new MasterLCBLL(); string UserEmpId = ((SessionUser)Session["SessionUser"]).EID; var PandingList = masterBLL.GetApprovallistByEid(UserEmpId); return(PandingList.Count()); }