/// <summary>
        /// Gets the user role actions.
        /// </summary>
        /// <param name="username">The username.</param>
        /// <returns></returns>
        /// <exception cref="System.ApplicationException">Repository GetUserRoleIdCollection</exception>
        public IRoleStatus GetAdminRoleUserRoles(string role)
        {
            try
            {
                using (
                    var dbContext = (PitalyticsEntities)dbContextFactory.GetDbContext())
                {
                    var list = AccountQueries.GetAdminUserRoleByRole(dbContext, role);

                    return(list);
                }
            }
            catch (Exception e)
            {
                throw new ApplicationException("Repository GetAdminUserRoleByRole", e);
            }
        }