public async virtual Task <ActionResult> ApproveActivitiesList(bool showAdminView = true)
        {
            if (ApplicationContext.User.IsInRole(PermissionType.Administrator.ToString()) && showAdminView)
            {
                var activitiesToApprove = await ApproveActivityCollection.GetAllActivitiesToApproveAsync(AuthenticatedUser.EmployeeId);

                return(PartialView(Mvc.BadgeManager.Views._ActivitiesForApproval, activitiesToApprove));
            }
            else
            {
                var activitiesToApprove = await ApproveActivityManagerCollection.GetAllActivitiesToApproveAsync(AuthenticatedUser.EmployeeId);

                return(PartialView(Mvc.BadgeManager.Views._ActivitiesForApproval, new ApproveActivityCollection(activitiesToApprove)));
            }
        }
        public async virtual Task <ActionResult> ApproveActivities(bool showAdminView = false)
        {
            if (ApplicationContext.User.IsInRole(PermissionType.Administrator.ToString()) && showAdminView)
            {
                var activitiesToApprove = await ApproveActivityCollection.GetAllActivitiesToApproveAsync(AuthenticatedUser.EmployeeId);

                var approveActivitiesViewModel = new ApproveActivitiesViewModel(activitiesToApprove);
                return(View(approveActivitiesViewModel));
            }
            else
            {
                var activitiesToApprove = await ApproveActivityManagerCollection.GetAllActivitiesToApproveAsync(AuthenticatedUser.EmployeeId, showAdminView);

                var approveActivitiesViewModel = new ApproveActivitiesViewModel(activitiesToApprove);
                return(View(approveActivitiesViewModel));
            }
        }