/// <summary>
        /// The handle request.
        /// </summary>
        /// <param name="permissions">
        /// The permissions.
        /// </param>
        /// <param name="permission">
        /// The permission.
        /// </param>
        public static void HandleRequest([NotNull] this IPermissions permissions, int permission)
        {
            CodeContracts.VerifyNotNull(permissions, "permissions");

            permissions.HandleRequest((ViewPermissions)permission);
        }