/// <summary> /// Retrieve My Unapproved DCR Count. /// </summary> /// <returns>int</returns> public int GetMyDCRUnapprovedCount() { // Cretaes Instance. CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // Get My Unapprove DCR. return(objDash.GetMyUnapprovedEntries(objInfo.GetUserCode(), objInfo.GetRegionCode(), DashBoardLanding.Entity.DCR)); }
/// <summary> /// Retrieve My Expense Claim Count. /// </summary> /// <returns>int</returns> public int GetMyExpenseClaimUnapprovedCount() { // Cretaes Instance. CurrentInfo objInfo = new CurrentInfo(); BLDashBoardLanding objDash = new BLDashBoardLanding(objInfo.GetCompanyCode()); // Get My Unapproved claims. return(objDash.GetMyUnapprovedEntries(objInfo.GetUserCode(), objInfo.GetRegionCode(), DashBoardLanding.Entity.EXPNESECLAIM)); }